LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple case selection at a time

Hi jeet,

 


@User002 wrote:

now i want to select  all three cases. If i select one case at a time its working and getting results as expected 


Did you read message #15 (carefully)?

 

Your VISA communication is a shared resource, it cannot handle several communications in parallel! So again: collect all commands in an array, then send them one after the other...

 


@User002 wrote:

Can someone explain me how to do like this in the link?


It's the same what we are telling you since more than a month: you cannot run several cases of a single case structure in parallel...

Do you even listen to our advise?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 31 of 37
(852 Views)

Can you please give me example of it?? So i can understand better 

0 Kudos
Message 32 of 37
(835 Views)

For channel 1 voltage and current im doing the same then i need channel 2 and 3 voltage and current.. so im doing it in parallel.. 

0 Kudos
Message 33 of 37
(834 Views)

Hi jeet,

 


@User002 wrote:

For channel 1 voltage and current im doing the same then i need channel 2 and 3 voltage and current.. so im doing it in parallel.. 


Why do you insist on "doing in parallel" when you describe your requirement as sequential task (first A THEN B)???

 

Again: your VISA communication does not allow to send commands "in parallel", so send them in sequential order. Collect your commands in an array and send them one after the other...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 34 of 37
(827 Views)

Scan is the 1st command then there 13 commands which are based on the register of chip to read and write values to register it has hex values those hex values are also can change the channel number. 05 is channel 1, 15 channel 2 and 25 channel 3.. 

 

2. Want to send commands for every measurement so when we send the command it will measure voltage and current of chip.

 

3. Response  of visa read are also hex values. Im using some formulas to convert into the values i want as you can see in sub vis the formulas. 

(We can adjust the current  and channel numbers using the commands 11 and 12)

0 Kudos
Message 35 of 37
(823 Views)

I need it universal. Like A, B, C at time as well

0 Kudos
Message 36 of 37
(819 Views)

So what's wrong with the advice you were given in another thread from a week ago?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 37 of 37
(773 Views)