VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

VXI Controller, TIC ASIC and PWM control

And the program execution enrivonment is as follows:


System Information:
===================
Operating System(OS): Microsoft Windows 2000
OS Version: 5.00.2195
OS Info: Service Pack 4
Processor: Pentium / x86 Family 6 Model 6 Stepping 5 / GenuineIntel / 501 MHz
Number of Processors: 1
Physical Memory: 129,524 KB RAM



NI Software Information:
========================
CVI Run-Time 7.0.0.393
CVI 7.0
IVI Compliance Package 2.1 2.1
LabVIEW Run-Time 7.0
LabVIEW 7.0
Advanced Analysis 7.0
Application Builder 7.0
Measurement & Automation Explorer 3.0.2.3005
Measurement Studio 6.0
For C++ 6.0.0.105
For Visual Basic
ActiveX 3D Graph 7.0.0.339
ActiveX Analysis 6.0.3.590
ActiveX DAQ 6.0.5.609
ActiveX DataSocket 4.0.3.367
ActiveX Instrument Control 6.0.3.589
ActiveX User Interface 7.0.0.343
ActiveX VISA 6.0.3.589
NI Spy 2.0.0.16
NI-488.2 Software 1.70
NI-DAQ 7.1.0f1
NI-DAQmx 7.1.0f1
NI-DMM 2.1.1
Soft Front Panel 2.1.1
NI-HWS 1.0
NI-PAL Software 1.7.0f0
NI-SWITCH 2.10.49152
NI-VISA 3.0.1
NIvisaic.exe 3.0.1.8
NiGpvx32.dll 3.0.1.8
NiVi488.dll 3.0.1.8
NiViAsrl.dll 3.0.1.8
NiViEnet.dll 3.0.1.8
NiViEnetAsrl.dll 3.0.1.8
NiViGpvx.dll 3.0.1.8
NiViPxi.dll 3.0.1.8
NiViRpc.dll 3.0.1.8
NiViSv32.dll 3.0.1.8
NiViVVGL.dll 2.6.1.4
NiViVxi.dll 3.0.1.8
NiVisaServer.exe 3.0.0.33
viic_ext.dll 3.0.1.8
visa32.dll 3.0.1.8
visaconf.dll 3.0.1.8
NI-VXI 3.3.1
NIDeviceConfig.dll 1.8.0.37
cfgeng32.dll 1.3.0.44
cfwg1394.dll 1.3.0.44
cfwgmxi2.dll 1.3.0.44
niini32.dll 2.6.0.1
niresmanengine.dll 4.2.1.47
nivvglk.sys 1.3.1.2
nivvglu.dll 1.3.0.48
nivxint.dll 3.3.0.45
resman.exe 4.0.0.209
resmanguivvgl.dll 2.0.0.287
vic.exe 3.1.0.181
wmxi2ext.dll 1.3.0.44
0 Kudos
Message 11 of 16
(5,951 Views)

帖子被Yanghuan在03-23-2005 02:04 AM时编辑过了

0 Kudos
Message 12 of 16
(5,950 Views)
So I'm using NI-VXI 3.3.1.

I wonder why you said NI-VXI(ver3.0-3.2.x) doesn't support TIC, because——

I noticed the following statements in the paper "NI-VXI Software Enhancements for the VXI/VME-PCI8000 Kit for Microsoft Operating Systems" (please see attchment):
"VXI Trigger Functions
Every function that takes a controller’s logical address as an argument can now accept the local controller or a remote controller’s logical address as well.
TIC functionality is now available on the local controller and on every remote controller." (on page 😎
0 Kudos
Message 13 of 16
(5,949 Views)
In summary, the goal is to generate PWM signal with the VXI modular instruments I have (refer to my first post).
My idea is to do so by using the TIC internal counter or tick timer in the NI VXI-MXI-2 controller.
The thing I'm wondering now is whether that idea is possible or not.
If it is possible, then i just need to check the TIC functionality in the controller.
If it is not, is there any other solutions?

Thanks!

帖子被Yanghuan在03-23-2005 03:28 AM时编辑过了

0 Kudos
Message 14 of 16
(5,949 Views)
Hi Yanghuan,

You have found a bug in the VXI driver, the values used for GetTrigHandler is changed to 14 for TIC Counter and 15 for TIC Tic Timers as opposed to 50 and 60 by mistake. That's why the example you are following ran into the error and this function returned a value of "0". By changing the value for Get_TRIG_HNDR to 14 will sole the problem. We are working on a patch to fix this bug and if you are interested in this patch, please email us at support@ni.com and reference this thread.

Reading the "Triggering with NI-VXI" again, I found that the TIC chip will only generate a 50 percent duty cycle square wave, there is no way to change the duty cycle of this square wave, thus making the generation of PWM impossible. So we will have to go back to my original suggestion of using a counter/timer module for your application. We do have examples written in C that illustrates this kind of task.
0 Kudos
Message 15 of 16
(5,938 Views)
Hi Yanghuan,

This is the same message I posted earlier, don't know why it got posted all the way up there.

You have found a bug in the VXI driver, the values used for GetTrigHandler is changed to 14 for TIC Counter and 15 for TIC Tic Timers as opposed to 50 and 60 by mistake. That's why the example you are following ran into the error and this function returned a value of "0". By changing the value for Get_TRIG_HNDR to 14 will sole the problem. We are working on a patch to fix this bug and if you are interested in this patch, please email us at support@ni.com and reference this thread.

Reading the "Triggering with NI-VXI" again, I found that the TIC chip will only generate a 50 percent duty cycle square wave, there is no way to change the duty cycle of this square wave, thus making the generation of PWM impossible. So we will have to go back to my original suggestion of using a counter/timer module for your application. We do have examples written in C that illustrates this kind of task. National Instrument does not sell any counter/timer boards for VXI, but there are other companies that are specialized in this kind of product.
0 Kudos
Message 16 of 16
(5,939 Views)