01-11-2015 04:22 PM
I am trying to use the myRIO 1900 to generate manipulateable Voltage from one of the analog outs. Basically, I want to vary the voltage on the DAC pin from 0v to 1.2V. Unfortunately, I have not been successful so far, I early on posted the question here which tells of the solenoid valve I am trying to drive with this DAC programming. If anyone has any helpful contribution, I will be glad. One thing that I am not so clear about is if the myRIO has an SPI master and servant altogether in the board or if it is a master only. The DAC specification pages on the manual are really unclear about this.
Any help would be appreciated.
Thank you!
01-12-2015 10:29 AM
Hello Lexicondi,
Have you used the Analog Output myRIO express VI? That will allow you to specify the analog output value directly on the block diagram in the form of a double. To answer your other question, it looks like the myRIO can only be a SPI master. Check out this previous forum post: http://forums.ni.com/t5/Academic-Hardware-Products-ELVIS/Can-myRIO-work-as-an-SPI-slave/td-p/3001185
01-12-2015 10:45 AM - edited 01-12-2015 10:46 AM
Hi muffin.
I actually fixed that over the weekend. I basically used the AO channel on the MSP connector but I am using Long 32, rather than Double, and it seems to be working perfectly. I tried changing to double but I wasn't able to go through.
Thanks for your sane reply on the Master/Servant functionality of the myRIO. Here's my current VI, btw.