Quantcast
Channel: LabVIEW topics
Viewing all 67066 articles
Browse latest View live

Error 1502 Excel Add Reference to VBProj.vi

$
0
0

This seems like a Microsoft vs LabVIEW compatibility error.  Trying to build an application I receive "Error 1502 occurred at AB_Source_VI.lvclass: Close_Reference.vi->AB_Build.lvclass: Save.vi".  The broken vi is located: C:\Program Files (x86)\National Instruments\LabVIEW 2016\vi.lib\addons\_office\excel.llb\Excel Add Reference to VBproj.vi.  I hesitate to send out another service request as I do not wish to re-install LabVIEW or "make the program again".  The second image is the same as the first except the tip strip is visible in the second.  I am unable to right click and "relink" in the same manner that worked the last time there was an ActiveX change/issue/thing.  I await some condescending responses and hopefully a good suggestion.  Thanks.

Error 1502 A.pngError 1502 B.png


PDF file editing using LabVIEW

$
0
0

I am having pdf file report which got generated from Fluke meter. I want to change date in that report. Is it possible to do it using LabVIEW?

Can I use Adobe Active X for this ?

Note - I don't have any idea of how pdf is generated from Fluke meter software

Key down event structure, need help

$
0
0

Hello,

I'm trying to make SNAKE game, i need help with key down event. I want to use arrow keys to change heading of snake. When i run the program, keystrokes are not registered at all, I would like to know, what's wrong. Also, if you have any better idea of handling snake movement, let me know (would like simple solutions, i'm new to labview).

Thanks for help.

Labview VISA write binary file using the *LRN? Query

$
0
0

Hi,

I want to write a VI that use the *LRN? query for a Aglient InfiniiVision 7k Series Scope. With my infiniium scope this wasn't a problem. I simply stored the *LRN? return in a textfile and then used VisaWriteFromFile to load the settings at a later time. The Infiniium returns a string and all is fine. So the new InfiniiVision returns "binary block data in IEEE 488.2 # format". I tried to save the *LRN? return in a binary file but it doesn't work. Can anyone help me with this? Thank you

Your Content I want to make interface between keithley 2636A source meter and lakeshore temperature controller . what will be the required hardware?

works in debub/highlight mode but fails in real run

$
0
0

Hi

The attached code works fine when I am using debug/highlight mode (light bulb). However, in actual run, it fails to restart the for loop. As you can see, I am scanning between 'StartField' to 'EndField' and the number of steps is decided by the value of 'Increment'. I am expecting that the for loop works for that many steps and when the while loop runs on completion of for loop the value of 'Current Field' gets reset. In highlight mode this works but in actual run, my Current Field values goes beyond the 'EndField', It seems that the for loop does not stop. What am I doing wrong here?

Issue reading Opto22 value via Modbus

$
0
0

   This might not be a strictly LabVIEW question, but I think this forum could be a good resource for ideas on this.

    We are putting new LabVIEW software onto a system that uses Opto22 for Daq. It talks by Modbus over Ethernet. The old software (executable built in LV) mostly works. It has numerous PID loops using TC's read by Opto to run PWM on digital outs. Seems to control just fine.

    However, when we read one of those TC's in our LabVIEW software, it is quite noisy. There are jumps of a degree or two, every few seconds. We don't see that in the old software data, though not having source code, we can't tell if they are averaging or not.

    As another check, we've tried several Modbus sniffer utilities. We don't see the noise on that channel there either, even when our LV program is running in parallel.

    Inside LV, all we do to read the Modbus value is give it an address. (We're using the latest Modbus Driver that comes with DSC.) We don't specify any resolution or scaling. That seems to be done on the Opto "brain". Likewise, with the Modbus sniffer programs, we just scan channels. How can our reading be noisier than with the sniffer programs?

 

Thanks,

    DaveT

Music and LabView

$
0
0

Hi everyone

 

I'm doing an application with music and I have a problem : when the application try to charge the music an error occur and say "Not enough memory to complete this operation"

 

I try two method to do it  first with the "Play Waveform" and secondly with the "System Exec.vi" but this two method don't work and i have the same error.

I know that is because my music is too long or big but i can't override this.

 

That here that I block.

Do you have any solution for avoid this problem ?

 

I let my VI with the VI1 for the first method and VI2 for the second.

 

Thanks you for your help =D.


LABVIEW program for Riccati equation

$
0
0

Hi,I want to change the Riccati Equation from "-R^-1B^TPx" into "-R^-1B^T(P+delta rho)x". How I can make the VI in LABVIEW for this Riccati Equation or what should I add in LABVIEW VI for this Riccati equation.

Thanks

What's the best way to make a "status" in LabVIEW?

$
0
0

Hi, when I have large LV programs I often want a "status" text box on my front panel so I can both (a) See what the state the program is currently in when it's running, and (b) Save to file the history of these states, for use with debugging and analyzing results.

 

I've done this so far in a way that works, but is obviously pretty derpy. I basically create a blank "status" string, and then have a subVI that, when you pass it the status string and the string you want to update the status with, it appends to the status and adds a time since the program started. Like this:

 

status1.PNG

 

and the function looks like:

 

status2.PNG

 

and... this works, but I'm betting there's a smarter way to do it in LV.

 

To be clear, I want a field where I can see not only the most recent entry (where it currently is), but also the history of it for a little while back. Is there a good way to do this? thanks!

making the executable(.exe) file of 'labview 2013' vi for 32 bit windows 7

$
0
0

Hello there,

can any body convert the Labview 2013 vi files to the .exe format for 32bit windows7?

I have attached the files herein.

Thanks in advance.

Showing data from mysql database to labview interface

$
0
0

Hi guys, I'm new with Labview, I'm working on a project and now I'm in the final step, I need to show some data from my website's database in my application (.exe) made with labview, is that possible? and if there's any tutorial will be helpfull!

Thanks and sorry for my English.

Register callback for "Save vi" event

$
0
0

Hi,

 

I would like to detect and do some action when my vi has been changed (or saved). Do I have any opportunity to catch that event, or could I catch "viChanged/Saved" event somehow?

 

Thanks for help,

Balint

Can I transfer NIMax tasks and calibration data without export/import?

$
0
0

I have a bit of a situation on hand and would appreciate any help.

 

I'm running Labview 2012 and NIMax 5.3.0, and recently both of them have decided not to start anymore. I've almost given up on them, but I'd like to know if there's any way to at least rescue my tasks and calibration data from the wreckage of the broken NIMax installation without being able to export them anymore?

 

Thank you in advance

-Antti

Is this a bug with "clean up selection" ?

$
0
0

Hi, I found some pretty strange behavior. I'm sure I'm just doing something wrong, but at the very least it can't be something that should happen this easily.

 

I have a flat sequence at one point in my program. I've noticed that I can be in a state where there are no (compile time, or whatever you call the errors that prevent the program from running) errors, but then I select a bit of my code, do edit->clean up selection, and it breaks code elsewhere in the flat sequence.

 

Here's an example:

 

The bit of code I want to clean up, selected (note: no errors at this point):

cleanupbug1.PNG

 

 

The code that is gonna be messed up, still before doing anything (no errors):

cleanupbug3.PNG

 

After clicking clean up selection (with the stuff in the first pic selected), this code gets messed up:

cleanupbug2.PNG

 

What's the deal? I really don't know, but if I had to guess, it's getting messed up cause stuff gets moved around and it breaks wires or something.


When is Excel needed in order to save data to an Excel spreadsheet?

$
0
0

I am building a VI that collects simple data from instrumentation. The output would ideally be a nicely-formatted Excel file. The VI would need to do basic operations such as adding worksheets, writing table headers and then save the data in the correct place. If possible, it would be nice to protect the sheets when done then save the file using a runtime-generated filename. The program will be built into an executable and run on some other computer.

 

I see that there are a variety of ways to write to an Excel spreadsheet (simple express VIs, report generation, etc). Some examples explicitly say "Excel is not needed to run this", most don't say anything. So, when is Excel needed and when is it not? To what extent can I do the things I listed above on a machine that has no Excel installed? Also, would Excel be needed if I wanted to do the things mentioned above starting from a template Excel file rather than from scratch?

 

Thanks!

FPGA simulation exceeds maximum simulated time

$
0
0

I am running a very simple FPGA simulation (LV2014) which appears to function correctly. However, after 60 seconds of operation, I get the following pop-up:

 

     LabVIEW FPGA reported the following error:

     The simulation has exceeded the maximum simulated time.

 

Checking on-line, it looks like the maximum simulated time should be 9223372 seconds.

Any ideas on what might be causing the shortened time?

 

Windows upgrade from Xp to Windows 7 error in FTP transfers

$
0
0

I get the following error from a program that has worked for several years after an upgrade from XP to Win 7 with labview 2009 sp1

 

Error 66 occured at TCP Read in NI_InternetTK_Common_Vis.lvlib:TCP Read xTP Reply.vi:15->NI_InternetTK_FTP_Vis.lvlib:FTP Get Command Reply.vi:14->NI_InternetTK_FTP_Vis.lvlib:FTP cOMMAND.VI:11->NI_InternetTK_FTP_Vis.lvlib:ftp [TYPE].vi->NI_InternetTK_FTP_Vis.lvlib:FTP Open Data Connection.vi->NI_InternetTK_FTP_Vis.lvlib:FTP Data Receive.vi->NI_InternetTK_FTP_Vis.lvlib:FTP [RETR].vi->FTPClient.vi

How to Import Coordinates from Excel into LabView

$
0
0

Hello everyone,

 

I am trying create a virtual prototype of a 3D Printer where the motors are being controlled via Softmotion in Labview.  I have watched and read a few tutorials to try to get an idea on how control the motors, but they all have inputted a coordinate directly into the "Position" of the "Move" Function Block.

 

I am wondering if there's a module or another way to maybe import a list coordinates from excel and input that into the "Position" section instead.

 

So far I have been thinking of using File I/O >> Read Delimited Spreadsheet.vi, but I am not entirely sure how to go about that.

 

Any input is much appreciated...

 

Zar

Add dynamic sequences

$
0
0

Hi everyone,

Here I am asking for help on the dynamic sequence input control. To be specific, I have 4 Boolean controls, labeled as A,B,C and D. In a cycle number N using a for loop, for example,  we may need 10 sub cycles for A and B on for 5 sec, 10 sub cycles A and C or DA for 2 sec and so on so forth. The number of the sub-cycles and sequences could be different each time. So do you have an easy way to achieve this in Labview? We have our hardware programmed with labview and used for a while for fixed recipes already, for this upgrade purpose, it would be much more convenient to keep everything in this environment.

Thanks in advance   

Viewing all 67066 articles
Browse latest View live