I have never actually used IVI. I've been to the hands on demos and have read the
literature. We do mostly telecom stuff and the IVI drivers for these instruments
is in development or a ways off. I'm definately all for it but for now we have
made our own interchangeable drivers with simulation, state cacheing and
transaction logging. The latter I'm not sure if IVI does. But this is basically
writing to a file the command sent, time, instrument, etc.
I should also mention I am a LabVIEW user so I do not have the ability to create
my own IVI stuff which I believe you are correct in saying the CVI user can. I'll
have to look in to that a bit.
I'm not sure how good the IVI simulations are. Ours range from very extensive
state machines to simple one number answers, just depends on the situation. We
definately have found investing the time to build simulation into your code is
worth its weight in gold.
Jim
Tobias Brueckner wrote:
> James Morrison/Joan Lester wrote:
> >
> > Yes, assuming IVI has the instrument class you defined. This is pretty
> > limited so far and IVI is not free....
>
> I allways thought that one can convert any LabWindows driver into an
> IVI?
>
> > I think you are looking at writing your own serial simulator. Maybe a state
> > machine that reacts to your inputs and responds with a simulated response
> > that matches the input. If you use the VISA call and no serial is there it
> > will error on you or time out because the serial buffer is empty.
>
> Yes, perhaps I should think about writing such a program.
>
> But again thinking about the IVIs: is there a central function that
> writes all the instrument commands to the hardware? I need those
> commands that are sended to the instrument. In fact I want the user to
> use a common panel to operate with the (simulated) instrument. And when
> he uses a control I want to save those (VISA?) commands for later usage.
>
> So would it be better to use an IVI or writing a "serial port listener"?
>
> Thanks, Tobias Brueckner.