01-02-2010 09:06 AM
I am trying to create a vi that will read from NI USB-9201 before it gets shipped to me.
I did load the virtual version of it, but don't know which example vi to use to get started. Also, I would like to know how to put the virtual 9201 into the vi to "read" its output.
Thank you,
Sam
01-02-2010 09:30 AM
Where did you try looking for an example? Example Finder will be the best place (Help -> Find Examples...). Try to see if you can find something, and if not, do post back.
01-02-2010 09:49 AM
01-02-2010 10:51 AM
Yes, I installed DAQmx. I did create a simulated device in MAX; but I didn't know where to find it when I was back in a LabVIEW VI. Isn't that what I should be doing - using the simulated device in a VI to simulate the voltage I will get from the real hardware when it arrives? I attached a document with a screen shot of where I was looking for it, but I don't see anything labeled DAQmx-USB9201 (or something similar).
Maybe I'm just going about this incorrectly...
Also, I did try looking in Example Finder for a VI to get started with. What I saw where 28 VIs to use under "Harware Input and Output: DAQms: Analog Measurements: Voltage"; so I got a little confused. Which is the best one to select for trying to read in voltage from a Potentiometer and graph it along a distance (which will be another input) so I can see the voltage change as distance increases (then I'll want to collect all that data and save it to a file as well; but that's probably a different discussion.
I have added the screen shot of NI Example Finder in the above mentioned attachment in case I'm looking in the wrong location.
Thank you for all your help and advice.
Sam
01-02-2010 11:50 AM
Please don't attach a proprietary file. Just attach the images - png or jpg only. Judging by the size of the file, you inserted some bmp images and your .doc file is just an attempt to get around the ban on bmp file.
You should really go to Getting Started With DAQmx to first get a basic understanding of what DAQmx is and how to use it. When you select functions from the palette, there is nothing specific to certain DAQ devices. When you select channels to acquire with either MAX, the DAQ Assistant, or a physical channel control, you will see a list of devices and channels associated with that device. Since you only have a single simulated device, that is all that you will be allowed to choose from.
In the example finder, you will be able to select devices to narrow down the available choices but might want to look at all of the DAQmx voltage input examples. Nothing will be specific to a voltage across a pot - nor should you expect anything so specific. A voltage measurement is a voltage measurement.
Nor will you be able to specify a simulated voltage. With simulated hardware, the simulated signal you will be reading is a sine wave.
01-02-2010 12:25 PM
Sorry about the attachment. I did not know about a ban on .bmp files or I would not have included it. I would be happy to remove it if someone would tell me how.
thanks for your input and advice
Sam