Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Could anyone help me to run the application?

Hello

Could anyone help me to run the VI, please find the VI and the error message that i am getting in attachment. I built this vi to run stepper motor. It seems to be a DAQ error.

Jayaprakash
0 Kudos
Message 1 of 4
(3,011 Views)
Hi,

I see a few things wrong with this VI...

1) You are using a Read from Digital Port VI. You should use Write to Digital Port VI instead.

2) You have the data wired into iteration input. The help shows us the following for that input:

iteration can be used to optimize operation when you execute this VI in a loop. When iteration is 0 (default), LabVIEW calls the DIO Port Config VI to configure the port. If iteration is greater than zero, LabVIEW uses the existing configuration, which improves performance. You usually wire this input to an iteration terminal.

3) You are using Traditional DAQ. What hardware do you have? What version of LabVIEW are you running? If you have LabVIEW 7.x then you will most likely be able to use DAQmx to control your device. DAQmx is our newer greatly improved driver. You can find shipping examples in LabVIEW by going to Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Digital Generation.


Hope this helps,
Sal
0 Kudos
Message 2 of 4
(2,999 Views)
Hello Salvador

I am complitely new to LABVIEW. I am using LabVIEW 6.1. DAQ card is PCI-6025E.

I am encountering the same error even on changing the VI to "write to digital port". Please have a look on the word document

i have attached so that, you will get the complite insite of the problem i am facing.
0 Kudos
Message 3 of 4
(2,985 Views)
Hi,

I would suggest looking at some of the digital shipping examples in LabVIEW:

Help >> Find Examples >> Hardware Input and Output >> DAQ >> Digital Input and Output >> E-series

These examples will give you the best idea of how to get it to work. Also, in MAX you can select your E-series device and open up a test panel. In the test panel you can manually turn the digital output lines on and off. This will give you an idea of whether or not your device is working.

-Sal
0 Kudos
Message 4 of 4
(2,970 Views)