LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

producer/consumer w/ScanEngine issue

All,

 

I have a large VI implemented with producer/consumer architecture using 10 events and uses conditional disables to select the data acquisition hardware.  The application is being developed in LV2009 with FPGA & RT on XP.  The application is intended to acquire and control analog signals in a cRIO-9073, but early development is done using LV simulated signals.  I can switch back/forth between the different configurations quickly & easily.  In the simulation mode, the front panel, controls, events, etc; all behave as one would expect.  When the conditional disable is changed to use ScanEngine and cRIO modules, then a very primary control fails to generate an event and does not function.  All other controls that can be tested are functional and generate their events.  I am at a loss and seeking suggestions on techniques to diagnose & fix the problem.  The application behaves as if the 'event structure' for primary control gets corrupted or some size threshold is been exceeded.  The whole concept, scanEngine based and simulated data, were functioning several days ago prior to numeruous edits and I can revert back to not using the scan engine and cRIO hardware with simulated data to validate correct function, but that is not the intended final path.  At the present time, I am stuck and looking for ideas.  All suggestions will be considered and appreciated.  The applicatiion is company proprietary and can't be posted.  Thanks in advance.

0 Kudos
Message 1 of 4
(2,754 Views)
Unfortunately, this kind of thing is very hard to troubleshoot without code.  I would suggest to use highlight execution and probes, with breakpoints to be able to come to the source of your issue.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,723 Views)
Scott, thanks for the suggestion.  I will try the highlight execution mode.  I am puzzled in that without ScanEngine, the VI works fine and with ScanEngine, all events except one work also.  I was hoping for an easy answer.  Thanks again. 
0 Kudos
Message 3 of 4
(2,713 Views)
I can definitely understand your confusion, and on the surface it seems like everything should transfer over.  However, when using simulated data you won't get errors that can occur once you introduce hardware.  Errors can prevent events from occuring, there is also the issue of timing, to see if when using actual hardware, the timing causes issues.  As I menationed before, there are a hundred different reasons why it would work with simulated data, but not actual hardware.  Please let me know if you need further direction in your troubleshooting.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,686 Views)