ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform problem after converting

after reciving data from visa (recived data from xbee) i try to show it on a waveform

all wires are ok but no data is recived (i chaked the visa is transfering data proporly)

pleas help me to solve this

0 Kudos
Message 1 of 7
(4,039 Views)

Hi Alex,

 

- get rid of that ConvertToDynamicDatatype...

- attach your VI with actual data (set to default with data in all controls)

- do you spot the red dot? Do you kow its meaning?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(4,029 Views)
First try to store locally into an string.Check whether its going wrong then try to debug. It works fine. Let me know if it doesnt
--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 7
(4,024 Views)

Thanks for the fast responses

get rid of that ConvertToDynamicDatatype

I can see data but I get it in spikes and not as a normal waveform in time (every new value gets to t=0 x=num)

what am I doing wrong ?

Thanks in advance

Download All
0 Kudos
Message 4 of 7
(4,014 Views)

Hi alex,

 

your signal coming from VISA only contains a single (scalar) value that is making up your waveform.

Maybe you want to collect more than one point from your DAQ device before building a waveform from it?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(4,008 Views)

I have no problem with collecting some together. Expect I don't know how to put it in a FIFO

0 Kudos
Message 6 of 7
(4,006 Views)

Hi alex,

 

when you don't have any problems collecting data then you should use a shift register somewhere in your code...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 7
(4,002 Views)