Hi there,
We just a bought a 6533 DIO card. I've been programming lots of stuff
in LabView 7.1 for the 6602 Counter/Timer card. (Basically jury rigging
a time stamping system). We just bought this 6533 DIO card to interface
with an FPGA module which is already programmed to perform time
stamping. I'm new to programming for the DIO cards. Also the examples
that were sent to me were written in Visual Basic. I know there's
something called Measurement Studio which I gather are extensions for
Visual Basic and Visual C++? (ie. ready made components you can use?)
Can you give me an explanation of Measurement Studio in a couple of
lines? I don't think the code that I have uses Measurement Studio. I
think it's directly controls the DIO hardware. It includes a couple of
NI files, like NIDAQ32.bas and NIDEX32.bas which I think contain the NI
functions to interface with the hardware. The example code says that it
was developed from example code posted on NI's website. I've been
trying to find it but had no luck. So I have a couple of questions:
1) An good resources for programming the 6533 with Visual Basic 6
(without Measurement Studio)? Some explanation and example code would
be wonderful.
2) I have some code that sort of work, it tosses me back some errors.
I'm going through it now, but just wondering whether anyone can look
through it and give me a rough idea of what's going on. It's not long,
I've included the files below.
Thanks for any help, my questions are general now I know, because I'm
just getting into programming this stuff with visual basic 6 (I'll
probably migrate to programming it either with Visual Basic.NET or
Visual C++ or C# eventually, so any resources for programming DIO cards
in Visual Basic.NET would also be appreciated).
Thanks again,
Chris