LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI doesnt work

Hi all

 

I have created a VI to save the data from the waveform, i am using the NI PCI 6225 card, the data from the function generator is not saved here. I have kept the port as DEV2 Ai0. it doesnt give any error message to but it just stops running as soon as i switch it on.here's my Vi .

0 Kudos
Message 1 of 10
(3,586 Views)

Hi,

 

Can be few problems, if it stops running as soon as you switch it on look your STOP button if not true ( for example if you run opne time it was working and after just stop when you run it, look mechanical action).

After can be some error cause inside the while you are asking in first iteration the file name to save, just ask the file name before the while it is better.

 

For looking error use a function to see if there is error inside the while on your error cable also cause here you will not see any error and stop the while on error too, depends of what you should in propriety of labview but you can have problem after to stop your program on error.

 

In my computer it is working if i put the file name quickly.

 

But those modification can help.

 

Regards.

 

Sorry for my french english lol.

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
Message 2 of 10
(3,581 Views)

hi gregory,, thank you very much,,,,your english is good,,,i would like to know what is the status function that u have used???where can i find it????

 

rgds

Rajan

0 Kudos
Message 3 of 10
(3,572 Views)

Hi,

 

The functiun is cluster unbundle by name.

 

Regards

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
0 Kudos
Message 4 of 10
(3,559 Views)

hi Greg

 

thank you very much,,,but it now throws an error message saying

 

Error -50103 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi

 

rgds

Rajan

0 Kudos
Message 5 of 10
(3,546 Views)

Hi,

 

http://digital.ni.com/public.nsf/allkb/001DA4DB6A31CF8886256D33006FA857

http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89

 

Put again your VI so I can test it to see if I get same error, but me from the begining no error.

 

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
0 Kudos
Message 6 of 10
(3,536 Views)

See here: Causes of NI-DAQmx Error -50103 "The Specified Resource is Reserved".

 

Also, why do you have a feedback node on the error cluster?

0 Kudos
Message 7 of 10
(3,533 Views)

Right,

 

I did not delete the feedback node in my answer oups ! Smiley Surprised

 

 

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
Message 8 of 10
(3,524 Views)
hi thank you very much ,,here's my VI
0 Kudos
Message 9 of 10
(3,514 Views)

The VI is working on my computer so look the web links from me and smercurio.

 

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
Message 10 of 10
(3,508 Views)