LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC Module: Custom I/O Server: Err 1003

I have successfuly created a Custom Periodic I/O Server that includes an Event structure with Shared Variable Change Notice.

Now I am trying to write one that uses an event structure for alarming notification.

I am getting Error 1003, Unable to Load Configuration.  Is the Alarm & Event Notification user event not allowed in custom periodic i/o servers?

 

0 Kudos
Message 1 of 8
(3,317 Views)

Hi Gretchen,

 

What versions of LabVIEW and DSC are you using?

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 2 of 8
(3,305 Views)

Labview 2010, don't know hos to check version of DSC, but it was purchased in 2010

0 Kudos
Message 3 of 8
(3,299 Views)

Hi Gretchen,

 

If it is possible, could you post your code here? This error might be getting thrown if your I/O Server breaks any of the rules outlined in the LabVIEW help:

 

  • Make sure the VI does not contain any Event structures or user interface interaction.
  • Make sure all While Loops terminate without user intervention. While Loops must terminate so the SVE can stop the VI.
  • Make sure all loops are timed in the same way.
  • Make sure controls and indicators that you want to publish from the top-level VI do not contain local variables, Property Nodes, or control references. The server synchronizes control and indicator values with NI-PSP data items only when a value is read or written at the control terminal. Modifying the value using a local variable, Property Node, or control reference can cause the data to be out of sync with NI-PSP data items.
  • If you select a While Loop in the top-level VI as the way to stop the server, configure the While Loop as either Stop if True or Continue if True. Do not use Stop on Error or Continue while Error.

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 4 of 8
(3,288 Views)

Thanks for the points listed above.  I have been going by the guidelines listed in Lesson 4 of the DSC Module Training.

One guideline states:

  • If you need hybrid input change/periodic behavior, use an Event Structure with shared variable Event structure support.

Your list says not to use Event structures!  I have successfully written other io servers with event structures.

Below is an image of my code (fp & bd).  You will see a Stop button for my while loop, but my other io servers have the same, so I don't think that's the problem.  The only other event case is the timeout case.

As stated in original post, I have successfully written several custom i/o servers using 'shared variable change notification' event structures, but this is the first attempt at one using alarm & event notification user event

 

AlarmEventDisplay.JPG

0 Kudos
Message 5 of 8
(3,268 Views)

Hi Gretchen,

 

It looks like we might have some inconsistency in our documentation (or at least the need to clarify a few things). Would it be possible to post a zip file of your actual project code up here so I can replicate your issue? Thanks!

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 6 of 8
(3,257 Views)
I want R&D on Custom IO Server -Periodic LabVIEW 2009. I have problem with LabVIEW example (Heat Exchanger). The problem is that the shared variable do not show values in the Distributed Manger and do not provide values after being deployed. Showing the status "Server Failure" or "No known value". (please find the example in the attachment)
0 Kudos
Message 7 of 8
(3,240 Views)

Hi SSRaza,

 

Since your issue sounds different than the error that this thread is focused on, please open a new thread on the forums. We request that users limit discussion forum threads to one topic to help future users find solutions quickly and easily. Thank you

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 8 of 8
(3,228 Views)