Jump to content

CT2DAC

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by CT2DAC

  1. I see it's quite sometime this has been posted, but only now I ever come accross it (although I have long been interested in programmatically creating data structures from "end result files" instead of painstakingly jotting down every cluster, field, subcluster, array, etc.).

    EXCELLENT piece of work!!!!!!! A lot of stuff to learn from!

    Thanks.

     

  2. Oooold thread, but maybe someone will answer.

    I'd like to change the icon but NOT from an .ico file, i'd prefer to have a LabView image constant.

    I tried to find some .net to create an image from an array instead of "from file" but I got lost and cannot find anything when selecting on LV .net constructor....

     

  3. It has been a long lasting problem, obviously not easy to solve.
    I keep hoping somewhere, someplace, someone will have a genious idea and help solve it.

    Meantime, I think Shaun's idea of stubs is still the 'least painful' way to it.

    Sometimes, I still go "specific simulators" - but it's far too time consuming - most often I just 'dry code' and test only when instruments arrive. Experience helps, in this case, to avoid falling on the same old traps. ;)

    I'll dig into this, with new projects and as time goes by... :)

  4. 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?

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.