Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems getting started

Hello everyone,

 

I completed my first projects using gpib and visa and even got my rs 232 serial connection going. The next task is to communicate via DAQ using a PCI-DIO-32HS interface. I'm still stuck on LabVIEW 7.1 but we should get the new Version any day. Again I have to struggle myself trough MATLAB code and translate to LabVIEW.

I looked around for a while but couldn't find any basic example on how to communicate via DAQ, I hope I was just looking in the wrong spots.

Can anyone tell me where I could find such an basic example?

 

appreciate it, Florian

Windows XP Professional, Labview 9
0 Kudos
Message 1 of 5
(3,434 Views)

I figured I need to be more precise on what I want to send and expect to recive. so here is a little update.

I want to send my comands as strings and want to read a bitstream from the device.

I hope this makes things more clear, a simple getting started would do the job, I just couldnt find such a thing...

 

greetings, Florian

Windows XP Professional, Labview 9
0 Kudos
Message 2 of 5
(3,428 Views)

There are some good examples for using the 6533 (PCI-DIO-32HS) using the DAQmx Driver in LabVIEW that automatically get installed with the driver.

 

The latest driver version that is compatible with LV 7.1 is DAQmx 8.9 so make sure you have that first.

 

Then goto Help»Find Examples... »Hardware Input and Output»DAQmx and then select Digital Generation/Measurements/handshaking.  Without knowing more about your specific applications I can't really give any more advice than that.  In the example finder you can also limit the examples that appear to ones that are compatible with your hardware but selecting that in the bottom left corner.

 

On a side note, the DAQ driver abstracts out all of the commands so you don't need to send strings to receive bitstreams back.  I think looking the examples should make this a little clearer.

Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
Message 3 of 5
(3,412 Views)

Hello Doug,

 

Thank you, this sounds just like what I was looking for. I was still running Version 8.6 on my machine which didn't include this example. I'm downloading the new Version right now, I'm sure this will help me move on.

 

 

thx Florian

Windows XP Professional, Labview 9
0 Kudos
Message 4 of 5
(3,395 Views)

I actually found the examples in my old DAQmx version, too (assuming that what you ment are to seperate examples), so I think I won't bother installing the new version as we will upgrade to LabVIEW 9 any day.

What I still don't get, is how to send a command to my device. The "Handshaking Output example" includes a write VI. However, I can only connect an array of 8-bit unsigned integer to it. How can I send a command? Is this even possible?

 

thx Florian

Windows XP Professional, Labview 9
0 Kudos
Message 5 of 5
(3,390 Views)