LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple NI-Scope sessions

Hi guys ,

I tried to find info in this forum but with no lucky.

I want to acquire data using a NI-Scope ( NI-PXI 5105 , 8 channels ) with two application (two different labview projects) simultaneusly.Application A acquire from channels number 0 and 1 and application B from the channel number 2.

When application B starts , it fails when tries to create the instrument handle session because : "Thedigitizer isbeing used by another application".

Is there a way to acquire data from different channels with two different application ?

 

Thanks,

 

Cesare

0 Kudos
Message 1 of 4
(3,469 Views)

Network-Published Shared Variables, Network Streams, TCP/IP, UDP, Web Services, Database TDMS file just to name a few

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
Message 2 of 4
(3,442 Views)
You would need one application that configures the instrument and acquires all of the channels. Publish the data with one of the above techniques.
0 Kudos
Message 3 of 4
(3,437 Views)
I'd like to add that this is a good thing, in my opinion. Since there are configurations such as the time base, triggering, that are common to the instrument, you would not want one application to be able to change what a different application has set. You would not want one application to initiate a new acquisition while another application is in the middle of its acquisition. If you want the applications to be independent with full control, you need to wait until the other application is done with the instrument or use two different instruments.
0 Kudos
Message 4 of 4
(3,427 Views)