LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200088 append

Hello everyone ,

I am using the PCI 6323 card . Whenever i am calling this attached vi . I got a error as -200088 to append . Cant able to predict what was the issue ?.

 

Step by step calling this . But while writing issue was there .

 

 

note :

I have cleared the tasks in NI MAX and reset the Ni MAX base  for checking .

0 Kudos
Message 1 of 18
(495 Views)

Hi willcan,

 


@willcan wrote:

I am using the PCI 6323 card . Whenever i am calling this attached vi . I got a error as -200088 to append . Cant able to predict what was the issue ?.

Step by step calling this . But while writing issue was there .


As this seems to be some kind of AE you need to also show the calling mainVI!

Do you initialize the task correctly?

 

Do you really need this AE-type construct for such a basic implementation of just 3 or 4 DAQmx functions?

The enum should be type-defined, and there should be NO "default" case!

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 2 of 18
(431 Views)

Hi gredw ,

 

Yes i used the AE . Nothing big deal in main VI . I just called this AE from Main vi .

 

when ever i used as a normal process like and called this attached VI .. create channel --> start task --> read --> stop --> close

 

please see attached one . Its nothing new in that .

when ever i used to run a vi " DO Sub write " for single time . Its running without issue .

 

But called this DO Sub write from main vi means error -200587 was coming

 

Nothing i reserved that channel . For safety i reset the Max database and reset NI configuration data also .

Deleted the Networks system  and disabled the antivirus .

 

i cant predict where that channel was allocated or reserved

 

please advise

 

0 Kudos
Message 3 of 18
(405 Views)

Hi willcan,

 


@willcan wrote:

i cant predict where that channel was allocated or reserved

please advise


I advise to attach your MAIN VI, where you call those subVIs you presented so far! (I already did so in my first reply…)

 

Btw. the loop in "DO sub write" is Rube-Goldberg as it only iterates once…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 4 of 18
(399 Views)

Hi gerdw ,

 

Main Vi comprises of confidential things . that's why   i cant ..sorry..

 

Even in  DO SUB write .vi itself error was there while during the write operation.

 

Shall i repair NI DAQ or reset or reinstall ?

 

 

0 Kudos
Message 5 of 18
(391 Views)

Hi willcan,

 


@willcan wrote:

Hi gerdw ,

 

Main Vi comprises of confidential things . that's why   i cant ..sorry..


Strip down until there are no confidential things included. Or create a test VI which demonstrates the very same problems/errors…

 


@willcan wrote:

Even in  DO SUB write .vi itself error was there while during the write operation.

Shall i repair NI DAQ or reset or reinstall ?


I don't think you need to reinstall DAQmx.

You wrote sometime before it was working as expected!?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 6 of 18
(386 Views)
Spoiler

I don't think you need to reinstall DAQmx.

You wrote sometime before it was working as expected!?

Hi gerdw ,

 

DO Main .vi is simple AE . That itself throwing an error while during the write operation after initialize case .

I am just switching On the relay .

Its need to work in AE right ? that itself issue was there . so only i tried with the DAQ module  reinstall

Attached VI .

error message : Error -200088 DO main.vi <Append> 

 

Thanks in advance !

 

0 Kudos
Message 7 of 18
(372 Views)

Hi willcan,

 


@willcan wrote:

DO Main .vi is simple AE . That itself throwing an error while during the write operation after initialize case .

I am just switching On the relay .

Its need to work in AE right ? that itself issue was there . so only i tried with the DAQ module  reinstall

error message : Error -200088 DO main.vi <Append> 


An AE doesn't prevent race conditions, so there might be a "close" call before the "write" call.

Again I ask you to provide the MainVI, which is using this AE!

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 8 of 18
(369 Views)

The following trivial usage of your AE ran without error.   Like GerdW, I think the problem is in the application code you have that calls your AE.   The AE itself is ok.

 

 

-Kevin P

 

Kevin_Price_0-1597147347835.png

 

0 Kudos
Message 9 of 18
(359 Views)

In your Initialize state create the task before creating your channels.

0 Kudos
Message 10 of 18
(356 Views)