CT2DAC Posted February 5 Report Share Posted February 5 (edited) Hello All. I have the need for instrument simulators, that I can use while developing and the instruments are not physically available. Think of any RS232, or ETH instrument: dmm, motion controller, hardware interface, sensor, whatever. I would like to have a piece of software that I would "connect" to and send commands. This sw would basically do syntax checking and reply with error codes in case of invalid syntax or with some 'valid' reply - a 'simulated' dmm would reply with a random value (maybe within a range). [I know of IVI instrument simulator, but this offers a limited number and, most often, my instruments are not IVI/SCPI compatible]. Now, the main issue is that I would like to avoid writing a specific simulator for every instrument I come across with; it would be time consuming and error prone, defeating the whole purpose of working with simulators (which is mainly getting ahead and saving time, while waiting for instruments to become available). I would like to have the syntax specified in a text file (I know the commands syntax from the instrument manual, much like: CMD param1 -OPT1=param2... etc.). It resembles what command line interpreters, language compiler preprocessors do, based on a syntax/grammar description (abstract syntax tree?). Searching on the net gives out a lot of stuff; however everything is specifically targeted for for windows, linux and other programming languages. I could not find anything "programmable" or general purpose. I came across a couple of posts - Exterface by Daklu and Gold Parser Engine by Taylorh140 - which seem to point in the 'right' direction but I can't seem to find any code to work on. Is there anyone out there that can point me towards any kind of resource - not necessarily LabView - that can perform as I "dream of" and from I can learn/use? Edited February 5 by ct2dac ct2dac Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.