Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 6009: how to switch between channels during measurement?

hi,

i wrote my first simple usb 6009 application.
i measure voltage with two usb 6009 devices in differental mode. i want to switch channels (0-3), devices (dev1, dev2) and the samle rate during the measurement. i solved the problem with one while loop and i put everything within this loop. so labview initialises every parameter (also the constant ones) each cycle. labview slows down and crashes finally.

greetings,
klaus
0 Kudos
Message 1 of 8
(3,856 Views)
Dear Klaus,

I need some more details about
    how do you change the sampling rate
    how do you select the davice or switch between channels.
The best way, could you post a copy of your code on th forum.

About changing the sampling rate during the acquisition, You can see this forum.
http://forums.ni.com/ni/board/message?board.id=170&message.id=196407

Best regards
Nick_CH
0 Kudos
Message 2 of 8
(3,834 Views)
Dear Nick,

I have solved this problem with one while-loop.  But the USB-6009 a.Ch.sel within the loop initialises every  parameter (also the constant  ones).
Is there a way to initialise changing parameters (device, channel,..) selective?

Best regards,

Klaus
0 Kudos
Message 3 of 8
(3,806 Views)
Hello,
 
I would like to know the specifications of NI USB-6501. I would like to use it like a switch and I don´t know if I can do it , and how to do it. I need that the USB-6501 works like a relay changing its state of open circuit to short circuit, and I don´t know if it is able to do it. I need it, becouse the USB would connect to a TEL which works like a switch, and I want to generate shortcircuit or open circuit by software, programing the USB.
I hope your answer and thank you.
0 Kudos
Message 4 of 8
(3,788 Views)
Dear Klaus,

I could not open your vi because the SubVI "SUB_usb6009_anchan_sel.vi" is missing

Best regards,
Nick_CH
0 Kudos
Message 5 of 8
(3,745 Views)

Dear Mbulo,

The information you need about the NI USB-6501 can be found on the documentations "Specification" and on the "Data Sheet".
But you need to know that the USB-6501 provides digital I/O based on the TTL technologie level and it is not a relay device.

Best regards
Nick_CH

 
0 Kudos
Message 6 of 8
(3,745 Views)
hi nick,

i'm trying to solve the problem with events but i can't get it right. i tried  to understand several examples and read the labview manual. But the examples are either to easy or too complicated.

ps. are there any useful tutorials for event-programmer-beginner out there?

thank you in advance

0 Kudos
Message 7 of 8
(3,710 Views)

Dear Klaus,

To learn how could you programm with the DAQmx driver and the Multifunctions devices.
Have a look to the following link that contains all the informations you need.
www.ni.com/gettingstarted/

Best regards,
Nick_CH

 
0 Kudos
Message 8 of 8
(3,695 Views)