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

How to move x scroll bar automatically in the graph?

$
0
0

i want to use x scroll bar for watching all data with fixed x scale.

 

but when over x scale, I should use mouse to show current data.

It means , x scroll is fixed at left.

I want to fix x scroll at right.

how can i do that?

please reply for this.

thank you


Problem with OPC and executable

$
0
0

Hello to everyone.

 

I have a program which works fine in Labview.

This program comunicates with a PLC via OPC Server.

 

When I create an executable and install it in another PC, it works but it can not comunicate with OPC Sercer...

In this PC I have installed DSC module and my program...

 

Should I instal anything special for doing that?

 

Thanks a lot

LabView starting slowly when connected to the net under Windows 7 or 10

$
0
0

Hello anybody.

I am using in the lab and at home LabView 2012 under Windows XP, W7 and W10 on different machines. On 2 PCs of the same brand (ACER) running W7 now ugraded to W10 the starting time of LabView is very slow (about 2 minutes) when the PC is connected to he internet; also the LED indicating Net traffic is heavily flashing. When deactivating the net-connection or pull out the ethernet cable the start is fast. On my home notebook under Win10 this does not happen.

 

I suspect that Windows 7 or 10 observe some settings (in the registry?) for LabView that demand some checks via internet if the connection allows these checks. The software is activated at NI.

 

Does anybody know whether in LabView or MAX there is a setting for preferences concerning the start of LabView. Or else whether in Windows e.g. the registry some settings cause such checks. After the start whether slow or fast, Labview works properly in both cases.

 

In the Forums I have not found a similar case.

 

Many thanks for suggestions.

Squid14play

Block Ram latency - resource usage

$
0
0

A general question regarding the resource usage of Block Ram primitives in LabVIEW FPGA.

 

I'm investigating utilising a group of BRAMs as "interconnects" between several different loops running on my FPGA.  I can serialise and deserialise many values into these BRAMs so that the depth can be used more or less efficiently.

 

My question regards how (or whether) the attached feedback nodes are represented on Fabric.  Are they purely place-holders so that the latency can be visualised or are they actually implemented in fabric (LUTs, REgisters, SRLs)?

Converting to state machine

$
0
0

Hey guys,

 

I would like to create a state machine form of the attached code.

I have 3 similar case structures and would extend to 7 similar case structure to form a byte and send it to serial port.

I am sure there is a more logical/elegant way rather than the haphazard form i have put it into. I am looking for a rough sketch of how to go about it.

 

Thanks

Error -2147312566:: Excel 2013, LV2015

$
0
0

Hi everyone,

 

I know this topic has been discussed long time ago. I have tried the solution, but it didn't work, and i have no idea how to proceed.

 

My Testsystem has:

- LabVIEW 2015 SP1+Report Generation Toolkit

- Office 2010

 

My PC has:

- LabVIEW 2015 SP1+Report Generation Toolkit

- Office 2013

 

When i execute this VI:
C:\Program Files (x86)\National Instruments\LabVIEW 2015\examples\Connectivity\Excel\Excel - Write Table.vi

 

My Testsystem has no problem. It works well.

My PC said:

activeXerror.png

 

Our IT would probably update Office 2010 into Office 2013. I have been fighting with this issue since 1-2 days with no result.

 

Could anyone please tell me what i should do to solve this issue?

 

THanks,

 

Rajamodol

 

 

 

 

 

 

 

Necessary LabVIEW services on Windows

$
0
0

Hello.  I know this isn't necessarily a LabVIEW question, but it pertains to running the LabVIEW environment.  As many of us know, when installing LabVIEW, a bevy of services are installed as well thus causing a pretty significant increase in boot up time.  I have looked for any white paper on the subject but have not been able to locate anything.  Does anyone know just what services are absolutely needed?  At one point, I turned off all NI services in my MSCONFIG but this resulted in various issues relating to LabVIEW as well as NIMax and I have tried to add the services on one at a time to see what fixes what.  So again, is there a list already in existence for this subject?  Items like NI Modbus and OPC Server I don't think need to be running at boot up, but then there are like 6 different NI Web Server apps or something like that.  So any help here would be hot.

Data link oracle to labview issues.

$
0
0

Hi All,


I tried searching if this issue has been posted previously, but my search came up with nothing. My issue is opening the connection to the oracle database.

 

Software: Labview 2015, Oracle 12c, Win7 32-bit

What i attempt to do: create a data link in labview for the oracle database.

 

What happens: I get the error message, "Test connection failed because of an error in initializing provider:[Oracle][ODBC][Ora] ORA-12154: TNS: could not resolve the connect identifier specified", which i then proceeded to look up and attempt to fix using their recommended instructions. My tnsnames.ora file is referenced properly.

It is worth noting that the .udl file that i made works fine when i test the connection when opening it with OLE DB Core Services (opening it outside of Labview). In addition, i can connect to the Oracle database just fine using the command prompt. Therefore database connectivity isn't an issue.

 

The issue seems to lie somewhere in the labivew/oracle interfacing, otherwise i would have posted this issue to the oracle support forums.


SubVI/Instrument Driver Causing Slow Response Time

$
0
0

Good morning,

 

I had an AC source working with amazing reponse time yesterday but this morning I tried to add reporting to it and the whole system takes quite a while to respond now.

 

I can attribute this to the "Measurements" sub VI that was included with the instrument drivers for the power source. I timed my VI and the driver VI and its response time accounts for about 97% of the time of the program.

 

I guess the solution is remaking the VI to respond faster. I'm still quite new to LabVIEW and was wondering how to get a specific read off of an instrument with multiple values? I'm also guessing that the "Call Library Function Node" function is out of the question for this, as I think that may be what is taking so long.

 

 

 

NI Max cannot find device despite successful communication using terminal

$
0
0

I have LabVIEW 2013 installed on a Mac OS 10.11 computer, and I have a cryocooler controller I want to control through LabVIEW. The device interfaces via RS-232, which I've connected to the computer using an RS-232 to usb adapter. 

 

I can communicate with the device using the computer terminal. /dev/tty.* shows the address, and by using the terminal screen command I can send and receive information to the controller. However, the device does not show up in NI MAX, and so I can't communicate with it via VISA commands. I can continue controlling it via terminal commands, but I would much prefer to have a LabVIEW controller. 

 

The LabVIEW help I've found simply suggests reinstalling MAX. The IT setup we have makes installing anything a long process, so I would prefer not to go that route unless I was certain a bad install is the problem. I can successfully communicate with the instruments we have on the GPIB bus via LabVIEW, so I'm inclined to believe NI MAX is operating correcly. 

 

Is there any way to provide LabVIEW with the correct address so that it can communicate? Alternately, is there any way to search for the device on MAX given that I know the usb terminal it is connected to? 

count the number of repetitions of items

$
0
0
I want to count the number of repetitions in column 2, that correspond to each category in column 1 in a table. The repetitions in col 2 should be of the same item, so I would get the reps by category and by item.
Can someone please help me?
Thanks in advance.

count the number of repetitions of items

$
0
0
I want to count the number of repetitions in column 2, that correspond to each category in column 1 in a table. The repetitions in col 2 should be of the same item, so I would get the reps by category and by item.
Can someone please help me?
Thanks in advance.

Timing within the Queued Messenger Handler

$
0
0

Hello all,

I have a Queued Messenger Handler program similar to the Continuous Measurement and Logging (CML) template.  Events on the front panel create a "ui queue message" that the UI Messenger Handler recieves.  The UI Messenger Handler then sends a "data queue message" to my Data Loop vi.  (This is similar to the acquisition loop in the CML template.)

 

The Data Loop vi is intended to read priority messages sent from the UI Messenger Handler, such as start, stop, terminate. Once it reads the start message, it enters the start case and continually performs a task once every X milliseconds.  When a priority stop message is sent, it should immediately stop performing the tasks.

 

I'm thinking it should involve the Data Loop continually sending messages to itself to perform the task.  That way the priority message could easily slip in front and shut down the process.  Is this a correct implementation?  If so, how do I make sure the task is performed at the correct time?

 

Thanks!

 

 

 

Clad question problem

$
0
0
If a wait until next ms multiple function with a constant of 100 wired to it is placed in the same loop as a section of code that take a total of 37 ms to complete its 4th iteration, how many ms until the next iteration beigns?
Answer-
1- 14ms
2- 437ms
3- 63ms
4- 100ms

Clad question problem

$
0
0
Which mechanism stores state information in a simple state machine
A. Functional global variable
B. Notifier
C. Queue
D. Shift register

Clad question problem

$
0
0
Which loop or function auto- indexes a single element of a 2-D array
A. Replace array subset function
B. Array subset function
C. One while loop
D. Two for loop

Clad question problem

$
0
0
Please give me this attachment question answer

Last question

How can I get a list for all available printers as in add Printer Wizard?

$
0
0

I would like to get a list of all printers that have an integrated drivers in the system from microsoft like that list in the add printer wizared in windows.

 

Any suggestion will be appreciated! 

 

NI9514 Softmotion Function Blocks/Express VI

$
0
0

Hi,

 

I'm using a NI9514 module in hybrid mode with some other modules in FPGA-Mode.

I followed this guide to get a straight line move: http://www.ni.com/pdf/manuals/372874d.pdf

 

I am not used to working with Function Blocks so i'd like to use the Express VIs, but i coulnd get the axis to move.

I used a stacked sequence to first power and enable the axis and then another sequence to move to an absolut position and the power off again. But the axis does not move at all.

Can anyone give me some hints on how to use the SoftMotion-ExpressVIs? I found this help article, but it does not help me at all.

 

Greetings!

Viewing all 66715 articles
Browse latest View live


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