|
From: PBear on 18 Jun 2008 18:10 Hi Orchid, If you're looking for an example analog input VI, look in the example finder of LabVIEW for some great references. Also, for simplicity (but less functionality), you may want to try the DAQ assistant in the functions pallette. This will give you a good start. Make sure you are wiring your signals into your device according to your software settings (RSE, NRSE, DIFF). Finally, you can create tasks in MAX to test and configure before deploying to LabVIEW. Simply right click on the Data Neighborhood object in the top left of MAX and choose Create New... I hope these suggestions help. I would recommend looking at the above links as they will have many resources available to you for DAQ.
From: orchid on 18 Jun 2008 21:40 Hi PBear, I am using Maxsonar EZ1 Range Finder as my sensor. Do you know about the connection? Right now I just connect AN pin directly to the AI 0 pin on the USB 6009. Do I have to add any resistor or any other additional circuit? Thanks.
From: orchid on 18 Jun 2008 22:10 I am using Brushless DC motor. It comes with the driver. Operating at DC +24V, the output from the port 0 is connectted to the driver of the motor. Can I direct connect the motor controller pin? Some pin from the USB port always high eventhough I have program it low. Can you tell me what may cause it. Is it the pin failure? Thanks.
From: PBear on 20 Jun 2008 12:40 Hi Orchid, Please make sure you understand that the USB 6009 has a + and - 10V swing and all measurements are referenced to the selection you choose (RSE, NRSE, DIFF). Read through the Field Wiring and Noise Considerations documentation (Field Wiring and Noise Considerations for Analog Signals: <a href="http://zone.ni.com/devzone/cda/tut/p/id/3344" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/3344</a>)<a href="http://zone.ni.com/devzone/cda/tut/p/id/3344" target="_blank"></a> and you should be able to understand how to connect this device. It sounds like you are simply wiring a single wire into the device. You must wire at least two wires in order for the device to have a reference. You may need bias resistors but since I'm not as familiar with this sensor as you are, I can't say for certain. If you are doing a differential measurement, I would highly recommend it as the charge will need a return path to ground. Message Edited by PBear on 06-20-2008 11:19 AM
|
Pages: 1 Prev: when a vi hangs...how do I find out what it is waiting for? Next: aquiring multiple signals |