LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is this red dot? How can i solve it?

Hi,

 

I can not run it, because there are red dots. I know, it means the signal from DAQ  and the constans 500 are not same type, but i have to Multiply the analog voltage signal from daq. How can I solve it, how can i multiply the analog signal from daq (20mV) with 500? Or is there any option to convert them?

 

Thanks

 

 

 

 

dwd.jpg

0 Kudos
Message 1 of 12
(7,951 Views)

The "red dot" is called a Coercion Dot.  As for how to fix it, by the look of your program you are wanting to acquire 1 sample at a time.  Configure your DAQ Assistant accordingly.  (And then stop using DAQ assistant completely - right click on and generate daqMX code... but that is a separate issue)

0 Kudos
Message 2 of 12
(7,925 Views)

You actually have three coercion dots (at the multiply, at the PID function. and at the rightmost DAQ function).

 

There is nothing to "solve" because the code works correctly, right? A coercion dot does not break code. Just ignore it.

 

0 Kudos
Message 3 of 12
(7,923 Views)

Thanks, but does not work. this is the message:

 

rgtrtgr.jpg

0 Kudos
Message 4 of 12
(7,906 Views)

How is the express VI on the right configured? (Impossible to tell from the picture!)

0 Kudos
Message 5 of 12
(7,900 Views)

I did it, thanks.

 

But there is an other problem. I dont know how can i set up the bridge in daq. the load cell: 10 V supply voltage, 2mv/V sensitivity, 

So if the load cell receive maximum force, then it provide 20mv signal. But the output signal is not in range  0 - 0,002 V. The signal is 0-24 something...

What is the problem?

 

Thanks

 

 

 

wsa.jpg

0 Kudos
Message 6 of 12
(7,870 Views)

The error is being generated by your DAQmx write, not read.  How is your "DAQ Assistant 2" configured?

0 Kudos
Message 7 of 12
(7,850 Views)

I would be best if you just posted your VI.  That way we can look at all of your configurations and diagnose your problem.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 12
(7,819 Views)

I attached. So i don not undersant why show the indicator these values, if i set up  the bridge,

0 Kudos
Message 9 of 12
(7,805 Views)

I would change your DAQ Assistant 1 to be continuous samples, 1 sample per second.  Then change the dynamic data type to a scaler numeric.  Part of your problem is that you are taking 25,000 samples, but only using 1.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 10 of 12
(7,790 Views)