High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I access nitclk with vb6?

I'm trying to use niscope and two PXI-5122's but apparently niscope doesn't control synchronization of these cards I must use nitclk. However I don't see any support for vb and nitclk. Can I interface to nitclk.dll in vb6 and what declares must I use to do so?
Thanks.
0 Kudos
Message 1 of 4
(6,399 Views)
Hi RobFarrell,

There is no direct support of NI-TClk in Visual Basic. NI-TClk enables customers to access its functionality through C functions, and at a higher level, LabVIEW VIs. However, I suppose it would be possible to use NI-TClk C functions if you knew how to create an import library for Visual Basic.

There may be consequences to that I don't know about. Like does Visual Basic support 64-bit data types, such as Float 64? There must be a reason there is no support for VB.

Hope this helps!

Chad AE
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(6,389 Views)
RobFarrell,

One of our engineers has recently developed a first generation example using NI-TClk with Visual Basic to synchronize two NI PXI-5122s. It shows in code how to interface the C function calls. I'll include it below.
0 Kudos
Message 3 of 4
(6,380 Views)
Code to synchronize two PXI-5122s:
0 Kudos
Message 4 of 4
(6,365 Views)