From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-08-2020 12:44 PM
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 .
08-09-2020 09:58 AM
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!
08-10-2020 12:12 AM
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
08-10-2020 02:09 AM
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…
08-10-2020 04:47 AM
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 ?
08-10-2020 05:08 AM
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!?
08-11-2020 05:26 AM
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 !
08-11-2020 05:45 AM
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!
08-11-2020 07:03 AM
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
08-11-2020 07:11 AM
In your Initialize state create the task before creating your channels.