Quantcast
Channel: LabWindows/CVI topics
Viewing all 5339 articles
Browse latest View live

fragen

$
0
0

Hello everyone, I hope you are well.
In fact the purpose of my duty is to put the strom in a form of a pause in other words the strom must be equal to 0 and I must bring out the different curves. I'd like to know how to do it right if I have to use a vergleicher or what?
Can someone help me because I'm really blocking thanks for your understanding.


CVI function for "extract single tone information.vi" to calculate phase for NI 9234 phase matching calibration

$
0
0

Hi, everyone!

 

I have been looking for a function to calculate waveform phase for my NI9234 phase matching verification, however, I wasn't able to.

 

Any kind of help is appreciated!

Thanks in advance!

Software trigger

$
0
0

Background:

I am writing C code and calling the DAQmx API directly.  I am developing in VS community 2017 with the latest DAQmx.  I am using the Synch AI-AO example with success.  I changed the examples triggering scheme to have the AO task trigger the AI task with success. I have a PXIe chassis with a PCIe-6358 board.

 

Question:

I want to trigger the AO task from a DAQmx function call, a software event is going to start the AO/AI in one-shot mode.  I tried DAQmxSendSoftwareTrigger() with no success.  Is this idea even possible? 

 

Thanks,

Ed

I got this messages. ( iberr=EBUS) Labview ILX LPA-9084 instrument

$
0
0

I got this messages. ( iberr=EBUS) during detector calibration on my ILX LPA-9084 laser characterization system. Using Lab View.  What I should to due to go forward. Thank you laserpeter

open , read and extract some data from a CVS File and then write the extracted data in a new CVS or TxT file

$
0
0

Hello everyone, 

I have to open ,read , extract data and modify its format   from many cvs files. Then I have to write or copy the extracted data into a new txt/cvi File.

 

I've read,opened and extracted some data in a Buffer but I couldn't write them in the txt file created at the beginning .So that I need your help.

 

ps: I didn't really get how the function "WriteFile" does work 

 

thank you in advance 

 

 

Can you change order of digital input lines with DAQmxCreateDIChan?

$
0
0

Hi,

I am not sure if this should be here or in the DAQmx forum.  I have an application reading and writing digital lines on a USB-6281.  Is it possible to change the order of the digital lines read.

 

 DAQmxCreateDOChan(taskOut, "Dev1/port1/line1","DigIn1", DAQmx_Val_ChanPerLine);

 DAQmxCreateDOChan(taskOut, "Dev1/port1/line0","DigIn0", DAQmx_Val_ChanPerLine);

 

So when I read using

 

DAQmxReadDigitalLines(taskOut, 1, 0.010, DAQmx_Val_GroupByScanNumber,
data, 16, &numRead, &bytesPerSamp, NULL);

 

data[0] is from line1 and data[1] is from line 0?

 

 

Not Finding Visual Studio Conversion Wizard

$
0
0

Based on the steps in this thread:

https://forums.ni.com/t5/LabWindows-CVI/Activating-Visual-Studio-2008-Conversion-Wizard/m-p/2050728#M58262

 

I installed VisualStudio 2008 (Pro Edition, not Express), then re-ran installation of LabWindows/CVI 8.5.1 directly from CD-ROM. While installing, the only option I had for a Visual Studio Wizard add-on was for Visual Studio 2005. I DID make sure this was selected. I was hoping despite the version mismatch, this would all just "work", as I understand support ran through VS2008. However, I have no option for launching any kind of conversion wizard from VS2008 when I select "New>Project". Do I need to update to a later version of CVI that offers a wizard for VS2008 as part of the install? Or should I install VS2005?      

Application crash

$
0
0

I request support

when i run my cvi application ,after a few seconds of running the application crashs and shows me this message error on release mode " release x86 has stopped working" such as i use labwindows cvi 17 on windows 10.

two screen shots of the error message are attached.

thanks 

 

 


Communicating with the Preprocessor

$
0
0

CVI 2017, Windows

 

Is there a way to send something to the preprocessor from the outside world upon application build? 

 

I am using some of the same source code files for two applications which use the same hardware.  The two applications have different .uir, and thus different .h files for the UIRs.  I need to tell the preprocessor to use either UIR1.h or UIR2.h  for the build, based on something.

 

Before I dump a lot of detail here regarding multiple .h files, and communicating between these files, does anyone have an idea to solve the above.

debug executables flagged as malware?

$
0
0

My company uses Symantec anti virus and this morning I was greeted with a bunch of my debug EXEs being flagged.  Is there anything I should know about here?  I doubt these are actually suspect files; most are from the example projects.

2019-09-19 08_58_13-Symantec Endpoint Protection Detection Results.png

labwindows / cvi project

$
0
0

I have a WINDOWS NT system in which a CVI project is running, the project checks all the module in the starting if it is ready or not? right now one module is gone bad so is there any option to copy that program and run it on a different computer using a Vmware so that I can edit it to skip the initial checks and run it?

 

 

 

Thank you in advance

cvirt.dll not found

$
0
0

Hello experts, 

 

I got an error message saying cvirt.dll not found when I was trying to run an application. It is not present either in C:/Windows/System32 nor SysWOW64 folder. What is the safest and correct way to load this dll module?

 

Many thanks

Number of screens

$
0
0

Hi,

Is there a way to know the number of screens connected to a PC ?

 

Thanks

Bertrand

LAB Windows 2013 exe stops running after few hours

$
0
0

Hello everyone,

 

I have created an executable in labwindows to read and write to multiple ovens. The ovens are connected to the CPU ports through RS232. The executable works fine for about 10 hours and then it stops working saying the oven could not be initialized. 

Can anybody please help me with this problem?

 

CVI 2019 - Editor Whitespace Cursor Behavior

$
0
0

In CVI 2017, you could cursor around all over the editor screen.
In 2019, you can only place the cursor where characters (including spaces, tabs) exist.

So say you enter a new line, you can't cursor over to the spot you want to start typing, you have to fill the area with tabs or spaces.

 

Is there a way to change this behavior back to the 2017 version (and like all other test editors I've ever used for 35 years). It's killing my productivity. Going to have to go back to the 2017 editor if this can't be changed. Smiley Sad


Who is supplier of IPC-9704 strain rate analysis software

$
0
0

I want to get a IPC-9704 strain rate analysis software for my NI cDAQ

are there this option available? if yes who is the supplier

Thanks

CVI 2019 - Text Selection Mode?

$
0
0

What happened to Text Selection Mode from 2017? This was one of my most-used features of the editor.
Text Selectgion Mode.jpg

#ifndef macro switching

$
0
0

I'm making a library for a GPIO device.  This device has several macros for constant values.  I'm attempting to make these replaceable inside the host application that attaches my library.

 

For instance:

 

Library

#ifndef LABJACK_CLOCK_BASE
	#define LABJACK_CLOCK_BASE	LJ_tc4MHZ
#endif

#ifndef LABJACK_CLOCK_DIVISOR
	#define LABJACK_CLOCK_DIVISOR	14
#endif

...where LJ_tc4MHZ is itself a declared long value in the vendor header.

 

Now up one layer from here, my host application will set this macro to a relevant value:

#define LABJACK_CLOCK_BASE	LABJACK_tc48MHZ_DIV

But what I'm finding is that the CVI compiler is making two different values for LABJACK_CLOCK_BASE!  I was assuming that the compiler makes the determination of the value at the beginning of compilation and then substitutes all references of the macro everywhere.  Not so!

 

I'm sure this is convoluted, but is there a more elegant way of going about this?

How to lock folders with labwindows CVI

$
0
0

Dear ALL,  

 

I have application with several folders  like  :   

 Exemple :  Main_folder  --------------------> Folder_01

                                                       --------> Folder_02

                                                       --------> Folder_03

                                                       --------> Folder_04

                                                        ----------------------

The main folder contains several folders, so I would like to  know if it possible with labwindows CVI to develop a program to lock and Unlock folder " Exemple  : lock => Folder_01 and Folder_02 , Unlock ==> Folder_03 and Folder_04 "   

these folder contains our sequence test that is developed by CVI. 

So if there is some  command or instruction  to  use  to develop this programme ,  

 

 

Thank you  in advance .

 

Could not understand lines in "visa.h"

$
0
0

Hi, recently I am starting to use LabWindows/CVI 2017 as my primary coding tool. Before this, I use LabVIEW a lot and also has some experience with ANSI C programming. I read the "visa.h" file but could not understand two lines (line 88 and line 89):

 

typedef ViStatus (_VI_FUNCH _VI_PTR ViHndlr)
   (ViSession vi, ViEventType eventType, ViEvent event, ViAddr userHandle);

 

This typedef statement does not look like a regular typedef statement. In the above statement, what is typedef-ed to what? Thanks.

-Ling

Viewing all 5339 articles
Browse latest View live