LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Seek help to explain Application Error

hi all,
 
I am coding for an application that communicating with devices through a PCI to 4 Serial Ports card.
All four ports supposed to run simultaneously yet asynchronously.
 
At the program initialisation, the sw sends setup settings to all four ports almost simultaneously.
And, I got Application Error which aborts the sw and shuts down LabVIEW (see attached).
 
Hence, appreciate if anyone out there could enlighten me by giving me some clues on what is happening...
 
Best regards
ian
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Download All
0 Kudos
Message 1 of 3
(2,298 Views)

Hi Ian,

      Are you an administrator on this test-station?  Can the ports be used through Hyperterminal?  How does your application "setup" a port - are there calls to a special driver/dll?  Does your app only use VISA calls?  What happens if only one port is setup (instead of all/simultaneously)?  When all else fails (and sometimes before all else fails Smiley Wink - ) I check the web to see if anyone else is having the same problem.

Good luck! Smiley Happy

 

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 3
(2,285 Views)
hi tbd,
 
hope it is alright to address you as tbd 😛
 
Are you an administrator on this test-station?
       > Yes, I am
Can the ports be used through Hyperterminal?
       >Yes
How does your application "setup" a port - are there calls to a special driver/dll?
       > Nope, no special driver/dll.
Does your app only use VISA calls?
       > Yes, only VISA calls.
What happens if only one port is setup (instead of all/simultaneously)?
       > My last version, which uses two ports but different *approach, do not  have such issue.
 
* previous approach: port1 sends SOT, port2 reads EOTs and Fetches data, in sequence, from 4 devices.
* current approach:  port1,2,3 & 4 send SOT, read EOT and Fetch data from respective device simultaneously and asynchronously.
 
Really having no clues at the moment... still fine-tuning my code at the moment. Thanks!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 3 of 3
(2,276 Views)