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

MessagePopup blank button

$
0
0

We are using a mix of CVI2009 and CVI2013 on Windows 7,8.

 

Since last few days in an inexplicable way perhaps linked to Windows or Ni update perfectly working  

   MessagePopup(const char *popupTitle, const char *messageString)

   ConfirmPopup(const char *popupTitle, const char *messageString);

 

instead of expected text draw blanks, like this:

blank.jpg

 

The work around was to reimplement function with Windows api.

I have updated latest CVI2013 runtime to no avail.

 

any suggestions will be welcome

-al

 


Distribution of cDAQ

$
0
0

Hello all,

I have finished the update of an old soft from NI-DAQ trad to NIDAQmx (thanks guys!) but I have a question about the distribution.

If I create an installer with only NI-DAQmx runtime, it's already 300Mb but when I install it on a blank PC, the hardware (a cDAQ-9184 ethernet chassis) is not detected. NI-MAX is not installed with this option.

 

If I install NI-DAQmx runtime with configuration support, of course NI-MAX is installed and I can configure the hardware there and everything works, but it's 1Gb.

 

Is it possible to get the installation of the chassis and its slot device taken care of directly from my soft on the 1st run ? Any other solution besides that ?

 

Thanks

Graph 3D XYZ

$
0
0

Hi everybody,

 

I wonder if it's possible to plot a 3D graph if I have X Y and Z (for example X=(a,b,c,d), Y=(e,f,g,h), Z=(i,j,k,l)). I try to plot it with different fonction which could plot mesh or curve but i prefer to just have some point with xyz for coordinates.

So I think that a good function could be a function who wanted x,y and z vector like i said before. Moreover, the must could be a XY projection with a color point to determinate z value. So if you have some ideas, don't hesitate to answer :smileywink:.

 

THANKS.

Links to other apps in installer

$
0
0

Hello all,

my workspace contains several projects, hence several executables, but only one shows up in the [Start] menu after installation.

 

In the [Edit installer][Files], I've added the various executables in the [Program Files][MyAppName] folder, and they are indeed installed.

But the [Start >> Programs][MyAppName] folder is empty. How come there's not even the one app I see ? And how tdo I add shortcut to the other executables ? Doing [Add File] seems to copy the full executable there.

 

It's not clear how that thing works.

windows live mail

$
0
0

Hello All

 

Is there an ActiveX or other type of SDK for opening , manage etc... the Windows Live Mail (wlmail.exe)

something like the Internet Explorer ActiveX

 

Thanks

 

Gabel Daniel

FFT 2nd harmonic measurement

$
0
0

Hi, experts,

 

Now I would use the USB-digital analyzer, PicoScope, and my target is to extract waveform data and apply FFT analysis on CVI. My purpose is to measure the levels of 2nd and 3rd harmonic and input signal is low distortion sine wave.

When I get FFT analysis, what function in CVI, should I use?

 

I appreciate any idea not only FFT function but control for digital analyzer.

 

Thanks,

Tetsuya

NI XNET in LabView: Transmitting source address along with signal

$
0
0

Hi all!

 

Does anyone know a way to transmit a user-determined source address along with a specific signal (J1939)?  I'm outputting a signal from CVI with nxWriteSignalSinglePoint and reading it with CANalyzer, which says that the source address is NULL (254).  Is there a way to set this or would I have to transmit the whole frame (maybe doing the raw bits format)?  Thanks in advance!

Announcement: LabWindows/CVI 2015 Beta Program

$
0
0

Hi, everyone!

 

I am pleased to inform you that the LabWindows/CVI 2015 Beta Program is now open for new registration requests. As a beta program member you will be among the first to use the next LabWindows/CVI release, providing you the opportunity to give NI feedback and to test your existing projects against the latest LabWindows/CVI features.

If you are interested in participating in the program, we encourage you to request participation by visiting www.ni.com/beta and choosing to register for the LabWindows/CVI 2015 beta from the drop-down menu. All previous beta users must re-register for the LabWindows/CVI Beta to ensure we have up-to-date information.

We look forward to hearing from you!

 

Warm regards,


any event is there for continues touch

$
0
0

Hello Sir,

im using cvi 5.5 ver.

i attached one image in that i  using UP command button.....im confused which EVENT i should use for continues preSs from finger in touch screen...

if my finger is in UP command button in touch screen...i will supply continues voltage....if i removed my finger from UP command button im not supplying voltage....

i think in CVI dont have EVENT for contiunes press...

 

 

CVI DLL target project needs to let caller update progress

$
0
0

I'm still thinking about this old topic of mine

 

If I ever get around to packaging my low-level project into a DLL, other host projects that use it won't necessarily be CVI.  So my DLL can't have upward CVI dependencies to let the caller know status of DLL function looping.

 

I've looked briefly into multithreading with pointers, but it seems to me that this would be machine/processor dependent.  I can't really use PostDeferredCall because of the CVI dependencies back up in the caller.

 

Should I simply increment an index in my loop and output that from the function by reference?  Something like this:

 

int DLLSTDCALL myFunction (int* progress)
{
	double stuff;
	// worker loop
	for (int i=0; i<1000; i++)
	{
		stuff = rand();
		*progress = i;
	}
	return;
}

 

And then just leave it up to the framework caller to handle the progress pointer in a multi-threaded fashion?

Change 3D axe caption

$
0
0

Hello everybody,

 

I have a second question, so i made a 3D graph and, according to the acquisition that i'll choose ( 2 mode ), the X and Y axes will change. So i want to program this change. I managed to change the X axis but i don't know how to select Y and change it.

 

Fonction use :

 

CWAxis3DSetCaption(AxisHandle, NULL, p_rev);

 

 

panel redraws when changing ATTR_SIZABLE state

$
0
0

I have found a bug (or at least undocumented behavior).  I have a panel that I programmatically change the resizing attribute (ATTR_SIZABLE) at various times (user login).  

 

When my software does this

 

SetPanelAttribute(panel,ATTR_SIZABLE,state);

 ... the panel redraws.  By "redraws", I mean it appears as if there was some hidden HidePanel / DisplayPanel happening in rapid succession.  It's a very annoying and disorienting effect for my user.  

 

If I comment out that one line, the redrawing doesn't happen as I would expect and intend.

 

At the moment, I have no work-around.

graph3D Control level (NOT VALID DESCRIPTOR)

$
0
0

Hello,

 

I don't want to lose some time so I prefer to post again. So, I wonder if it was possible to control the different levels in a 3D graph and to attribute them value. I see in example that it was possible and try to insert it in my code but I have an error.

A pop-up appears "Not valid descriptor". I don't know what this error refer to so if you have any ideas, it could be very helpful.

 

 

Thanks.

CVI2013 crashes when using .dll on *some* computers

$
0
0

So I have made a .dll in LabVIEW that I inted to use in CVI (you can reference this thread for some additional info about it) and it worked just fine on the computer I created it on.  Trouble started when I began testing it on other machines.  A little background of my set up might be helpful so here it is.  I work in a HIL lab and we have a few different test setups including NI, dSPACE, and some proprietary testers.  We use CVI to run test scripts and this .dll is used to control relays via USB.

 

The issue I am seeing is something I haven't seen before and am somewhat clueless as how to debug - I think it potentially could be a CVI problem.  When this .dll and .lib are added to my project and I set a break point, everything seems to work fine.  I step through my code and everyone runs as expected (.dll related functions as well as any other part of the program), but as soon as I hit the "Continue" button or the "Go to Cursor" button CVI freezes and subseqently crashes.  The debug .exe stays open (but crashed) and I can't kill the process with Windows - I eventually have to restart the computer.  My program will run just fine without break points and will let me step through to the end of the program if I have already set a break point.

 

I have run the same exact project on multiple computers and so far it has only happened with computer that have dSPACE/Matlab software insalled.  I'm not sure if that is significant (it shouldn't make a difference) but it's another detail to report.  I have tried CVI2013 SP2 on one of the dSPACE computers and that did not help (the rest of the computers still have SP1).

 

I've also looked through my LabVIEW .dll build settings, made adjustments, and rebuilt to see if that would help and it has had no effect.

 

Any input, direction, advice, etc. would be helpful.  I'm stumped.  Thanks in advance.

Update Default Control Values at Runtime

$
0
0

Hello,

 

I would like to update the default values of my controls (numeric and text boxes) upon exiting the exe. That way when I open up the exe again it has the last control values I used displayed. Is there anyway I could do this without making another file and reading it when I open it again.

 

Thank you.


Populate table using DSBindCtrl

$
0
0

I need to load a CSV file into a table control.  I thought I could use DSBindCtrl to do this.  The code runs without any errors, but nothing shows up in the table.  I can't find much documentation or forum entires on using DSBindCtrl.  Can someone provide an example using DSBindCtrl to load a CSV file into a table?  Is there a better way to load a CSV file into a table without having to read the file one line at a time and parse it manualy?

 

TonyG

CVI.dll crashes 2013 when trying to browse

$
0
0

If I attempt to anything that requires a browse/file select LabWindows crashes with the following report:

Problem signature:

Problem Event Name: BEX

Application Name: cvi.exe

Application Version: 13.0.0.632

Application Timestamp: 51cb679b

Fault Module Name: CVI.dll

Fault Module Version: 13.0.0.632

Fault Module Timestamp: 51cb6792

Exception Offset: 00a4bb50

Exception Code: c0000409

Exception Data&colon; 00000000

OS Version: 6.1.7601.2.1.0.256.4

Locale ID: 1033

Additional Information 1: 7d8b

Additional Information 2: 7d8b59960e847456f719cf8b76eb40a7

Additional Information 3: 1aa0

Additional Information 4: 1aa00fb74513a107a85e25616fae3f2c

 

 

Cannot add existing files to project, open new project or open workspace.

Started after loading NI-VISA.

Suspicious BUILD LOG message

$
0
0

When I build my application I get the following message in the BUILD LOG:
"The source directory for "T Process" is invalid because it is at the same location as the deployment destination directory (source = "C:\TProcess\cvidistkit.T Process\Volume\", destination = "c:\TProcess\cvidistkit.T Process\")".

It does not seem to affect the build, and the build reports that it has comppleted successfully. What causes this message to appear, and what can be done about it, if anything ??
Thanks,
~Harald.

time shift plotting data on absolute time graph

$
0
0

Hi All,

 

I'm plotting some data on an absolute time graph and I find 2 hours of time shift between data shown by the debugger (on the left)  and data plotted on the graph (X - AUTO SCALE).

The time registered in ptTime, has been acquired using the "time ()" function and the PC has Amsterdam, Berlin, Rome as time zone.

Here below a screen shot that put together the code, the debugger and the result.

By the way, the debugger is showing the correct time version!

 

 

Anyone can suggest me how to treat data in order to have the same result on debugger window and on the graph?

 

Many thanks and regards

Sergio

Ethernet with e4438c %3F

$
0
0

Hello everybody,

 

I want to know iuf it's possible to command a Agilent e4438c ( Vector Signal Generator ) with labwindows through an Ethernet connection. I find drivers for GPIB connection on agilent website but it will be better with Ethernet.

So is it possible with Labwindows to pilot it in ethernet ?

 

THANKS.

Viewing all 5339 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>