LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

To bypass one of the instrument in the source code

Hey,

 

I have a .vi file designed by one of my co-workers who left the job. I also have the .exe file for the same. I have a problem getting the .exe file to run the test as one of the instruments that the program is looking for is currently unavailable as we have a lead time for the delivery. Meanwhile I want to bypass that hardware and run the test. I need an assistance in creating a simulated input/output to this case or do you have any suggestion on how to bypass the hardware. I’m looking at the block diagram, not sure how to procced. It would be helpful if I get an assistance on how to resolve this issue.

0 Kudos
Message 1 of 6
(572 Views)

You are looking at the Block Diagram, which probably shows what you want to leave in and what you want to take out.  The rest of us (unless you've hired one of us as a Consultant) are not looking at the Block Diagram, and therefore can't be of much help.

 

Almost all of the very experienced LabVIEW users on this Forum can open VIs saved with LabVIEW 2019, 2020, or 2021 -- if your code uses a newer version of LabVIEW, you would be advised to open the Project and "Save for Previous Version".

 

You will need, of course, to tell us which Test Instrument you want to remove from your code.  Once we see the relevant code, we can (probably) suggest how you could safely do this.  If the code is proprietary, however, you may want to look into hiring a LabVIEW consultant.

 

Bob Schor

0 Kudos
Message 2 of 6
(550 Views)

So, it is possible if you can simulate the functionality (of course dummy return) in a way that makes your application think it is a working real equipment.

 

What instrument are you trying to simulate? model? Is it SCPI based?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 3 of 6
(516 Views)

Hey Bob, thanks for your reply. The instrument I want to bypass is ThermoStream ATS-615-K-4 . It is thermal stream used to set the module(DUT) temperature. Right now I'm setting the DUT temperature manually on the DUT GUI as I do not have the instrument. I want my labview.exe to skip the step of using the thermal stream to set the temperature and execute the test without looking for the ATS-615-K-4. We can hop on a quick zoom call if you want to have a look at my source code. I cannot attach it here due to company policy. Thank you.

0 Kudos
Message 4 of 6
(492 Views)

Hey I think this might work, may I know how to do this as I'm new to LabVIEW. It would be helpful if you could point me to some relevant resources or videos on how to create a simulation with dummy return and bypass the equipment. The equipment I'm using is ATS-615-K-4 a thermal stream to to set the DUT temperature. Right now I do not have the instrument. I'm using the DUT GUI to set the temperature manually. So I want my .exe code to skip the step of temperature set and just run and execute the test.

 

Thanks for your reply.

0 Kudos
Message 5 of 6
(490 Views)

@Kavitha12 wrote:

Hey I think this might work, may I know how to do this as I'm new to LabVIEW. It would be helpful if you could point me to some relevant resources or videos on how to create a simulation with dummy return and bypass the equipment. The equipment I'm using is ATS-615-K-4 a thermal stream to to set the DUT temperature. Right now I do not have the instrument. I'm using the DUT GUI to set the temperature manually. So I want my .exe code to skip the step of temperature set and just run and execute the test.

 

Thanks for your reply.


Use this as a reference to build the simulator for ATS-615-K-4

https://www.youtube.com/watch?v=DfQ0y47bZL4

https://github.com/JMETestSolutions/VideoBlog/tree/main/VISA%20Device%20Simulator

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 6
(475 Views)