Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Programming Configuration (.ini) File to Call Specific RS-232 Hexadecimal Commands during Simulation

$
0
0

Hello, 

 

I have two separate VI's, one for sending and receiving Hexadecimal commands using text files over RS-232 comms and the other VI uses a Configuration (.ini) file for manipulating compact DAQ channels, (Analogue Outputs/Digital Output modules).

 

What I want to achieve is for both VI's to operate as one program, whereby as the channels are set and active in hardware, can be programmed to fire a specific RS-232 command (equivalent to a sub-routine) and receive a response. I want to accomplish this so that I can track the parameters set in the motor controller and make sure that everything is 'bug' free.

 

I think my main concern is whether both these VI's are compatible with each other? At this stage I have two separate programs running with different formats, one using .txt and the other using .ini.

 

I need to be able to call a subroutine from .ini or in the VI somehow to fire a specific hexadecimal .txt command depending on what is being exercised on the cDAQ modules.


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>