LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Im in trouble and I have a problem and error. Please HELP ME!!

I have to run this subvi. I have a problem with this. Can you see what's wrong? What does this diagram tell us?
Here is the error:

Error  2 occurred  at System Exec.vi. Command was "script.bat 10421 10521 11328 11428"

 

Possible reason(s):
Labview: Momery is full.
==========================
==========================

NI-488: No Listeners on the GPIB.

Download All
0 Kudos
Message 1 of 16
(2,663 Views)

What does your script do?
The problem is in it.

0 Kudos
Message 2 of 16
(2,628 Views)

It fixes the background of the spectrum data and gives a fitted Gaussian output.

0 Kudos
Message 3 of 16
(2,626 Views)

If you want to run, I can send it

0 Kudos
Message 4 of 16
(2,625 Views)

script.bat ?

0 Kudos
Message 5 of 16
(2,614 Views)

Where's "script.bat"?

(And please ZIP your files the next time you attach more than 2 files!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 16
(2,612 Views)

I forget exactly how .bat files throw an error 2, but isn't it similar to how you get an error 2 by using system exec without the cmd /c?  Like maybe you have to include that in the .bat file?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 16
(2,603 Views)

.bat files attached

0 Kudos
Message 9 of 16
(2,598 Views)

Hi Anni,

 

please attach your ZIP file directly in the forum.

3rd party websites often are blocked (by company firewalls or similar)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 16
(2,594 Views)