LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

C语言控制时钟输出问题 Questions about clock output coded by C language

 

我已经设置了头文件和库文件的路径,运行例程VC_DigPulse,却报错了,我应该怎么办?

 

I have set the path of the header file and library file. Then I ran the example: VC_DigPulse, but it break.

 

报错信息是:
错误 LNK2019 无法解析的外部符号 _DAQmxCreateTask@8,函数 _main 中引用了该符号 VC_DigPulse C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Counter\Generate Pulse\Dig Pulse\DigPulse.obj 1 

 

The error message is:

Error LNK2019 unparsed external symbol _daqmxcreatetas@8, which is referenced in the function _main VC_DigPulse C:\Users\Public\Documents\National Instruments\ Ni-daq \Examples\DAQmx ANSI C\Counter\Generate Pulse\DigPulse \DigPulse. Obj 1

image.png. What should I do?

image.png

0 Kudos
Message 1 of 3
(1,547 Views)

是因为电脑位数和加入库的位数不一样,修改之后就能运行了

The system of my computer is 32 bit, but I added library for 64 bits. It works after fixing it. 

0 Kudos
Message 2 of 3
(1,534 Views)

You've posted in the board for suggesting new ideas for DAQ products.

 

But what you have is a question asking for help.  This belongs in a regular support forum.

 

I'll ask the moderator to move it.

0 Kudos
Message 3 of 3
(1,510 Views)