Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

send the sampled data through formula node continously

Hello Sir,
I have a small request for you regarding the attached VI. As shown in the VI, I have tried inserting the formula.

Let me explain you the problem clearly.

I will get the voltages as input from the DAQ board. I have to read the input and send each sampled voltage through the formula node and get the sampled output which is Current in my case. So for converting the voltage to current for my case, I have included the formula node.

So I am trying to acquire the sampled voltage through DAQ board and pass the acquired voltage through the formula node so that I can get the values of currents which can be written in to Labview Measurement File afterwards.

Thanks for your support

Regards,
Krishna
0 Kudos
Message 1 of 4
(3,022 Views)
You don't have the formula node even close to the correct place. You've got it wired between the device number and the AI Config. The device number refers to the DAQ boards installed. If you've got a single DAQ board, the device number is 1. Instead of a formula node, just put some native LabVIEW math functions inside your for loop. For example, you can wire an array to one input of the Multiply function and a scalar to the other input. All values of the array will be multiplied by the constant. If your DAQ board is supported by DAQmx, you could also use that and create a scaling factor in MAX. The results returned by an analog read would then be in current and you would'nt have to scale inside the VI.
Message 2 of 4
(3,019 Views)
Hello Sir,
I didnt get the point what you have said exactly. I kindly request you to explain me the solution in a more clear way. Also I dont have DAQmx. So I cant do using that. Please respond as soon as possible.

Regards,
Krishna
0 Kudos
Message 3 of 4
(3,012 Views)
Since you have LabVIEW 7.1, you do have DAQmx but you don't mention what board you have so it might be that the board doesn't have DAQmx support. In any case, I suggest you go to MAX and check the Scales options. Here's also your VI modified to do scaling in the program and putting the device number back to what it should be.
0 Kudos
Message 4 of 4
(3,004 Views)