LabVIEW Basic Questions
Hello
I have 2 Questions:
I want to draw a few plots like this: http://elektroniktutor.de/bauteilkunde/bt_pict/trkennl.gif
now all my parcels have the X in the right position. Can I turn to the left?
If I cancel the side looks ok but the legend of the X X won't (because its negative results).
I have haave seen OR often in the programs that they have a stop and run button.
How can I implement this?
the program runs all the time... with start I start the task and with stop I complete the task (but the program will still work)
I have only yfound the Funcction 'Stop' but it cancel the entire session.
Hey crossrulz beat me to it.
Back to posters questions. Yes, do not what you code does. Try what I've attached. It is your program with some improvements. I think that the feature must be the same. Just click Run once. Then, when you want to run, click on the Start button. To stop click the stop key once again, or if the condition is met that normally would stop the VI arrives, it stops on its own. Also, to stop the application click on the close button (the X red) as a normal program. Of course if a test runs that the judgment will be ignored until the test ends. You can add your own test button to give up if you wish.
Any other general comments. Do not use the dynamic data types, do not use screw express and DAQ Assistant. Do not make the block diagram have to scroll in more than one direction. Do not run continuously. Do not use the button of toolbar to Abort VI or primitive.
Tags: NI Software
Similar Questions
-
I have a few basic questions about Profibus. We seek to develop a system that uses this form of communication, but we need a few questions answered in a broad sense, until we can move forward.
How fast can it reliable to deal with a large amount of data while contained in an executable multithreaded great? Our typical executables are 7 500 KB and must run on a Pentium 4 PC indefinitely without triggering more than 20% CPU. Given this constriant and my general lack of familiarity with the technology / Protocol, how fast can go us? 100ms? 5ms? 1ms?
Do I need any special software packages? Can I expect
the developer of the Profibus card to provide the essential in software
LabVIEW?We use LabVIEW 8.2.1; is it reasonable to expect a profibus card manufacturer to get the code for this version of the software, or is it possible that we have to upgrade?
Hi BobChuck,
PROFIBUS boards run the Protocol on board, with resulting very low CPU usage. If you buy a Profibus from a seller at random, you should be able to access the Profibus OPC server which should benefit from this provider. In such a scenario, you can expect the flow of data between 10 ms and ms 200 for all data (depending on the amount of data, the baud rate, implementation of the OPC Server and so on).
With a card Profibus of NOR comes a set of screws that will interface directly to the Board of Directors, leading at the speed of communication much more high. This can be as low as 1 ms for all data, but there still depends on several factors. Still, you should expect a 10 x performance gain using the LabVIEW interface directly from the OPC. In addition these boards can also be used with LabVIEW RealTime.
For more information, please refer to this tutorial.
Kind regards
Jochen Klier
National Instruments
-
1 copy of Labview Basic running on 2 PC
Hello
You can buy a copy of LabVIEW Basic and install on 2 PCs, the first PC would develop the code for the second PC, which would be its only goal. The second PC would act as a PC of collection in a test configuration. If this is not possible, I would need to take the PC down to the data collection, make changes.
Thank you.
Alan
ajmartin wrote:
Setting up right now is super simple, 6008 DAQ 24 digital lines of monitoring. ONs and hate of course!
OK, you should be able to use simulated on the development of PC devices to test tracks.
-
Free LabVIEW Basics and Introduction course deleted, moved or missing?
It can be very nice tutorials FREE Labview under: http://sine.ni.com/nips/cds/view/p/lang/en/nid/10647
Use an area called OR training / tutorials
- Free training material:
- Online LabVIEW Basics
- LabVIEW Introduction course - 3 hours
- LabVIEW Introduction course - 6 hours
Does anybody know where they went?
-SS
So the corrected links are:
LabVIEW Introduction course - 3 hours
LabVIEW Introduction course - 6 hours
-SS
- Free training material:
-
Basic questions about the port of Vsphere mirror
I set up a lightweight VM that would deal with inter-VM traffic. To do this, I want to activate the duplication of port between virtual machines.
I have ESXi 5.5 Update 1 installed, use the Vsphere (no webclient) client. I see no duplication of port capacity on my Vsphere Client
I have some very basic questions:
(1) all documentation I've read involving 'Port mirror' is done via web Vsphere client. Vsphere is provided with Vcenter (please, correct me if I'm wrong)
(2) only functions with "Distributed Virtual Switch", not "switch vSphere Standard" port mirroring. How can I activate "Distributed Virtual Switch"? What products can I download/install and try (suppose I go to the user a license for 60 days)
(3) exist what API to enable/disable/setup Port mirroring?
(1) all documentation I've read involving 'Port mirror' is done via web Vsphere client. Vsphere is provided with Vcenter (please, correct me if I'm wrong)
Because the mirror of port requires a distributed switch, you will need to vCenter Server and once in vCenter Server, you can the vSphere Web Client of the user or the vSphere Client (c# version).
(2) only functions with "Distributed Virtual Switch", not "switch vSphere Standard" port mirroring. How can I activate "Distributed Virtual Switch"? What products can I download/install and try (suppose I go to the user a license for 60 days)
You can download the server vCenter Server (60 day trial) and you'll have an Enterprise Plus version for your ESXi host vSphere.
(3) exist what API to enable/disable/setup Port mirroring?
Check the comments of this blog: http://blogs.vmware.com/vsphere/2013/01/vsphere-5-1-vds-feature-enhancements-port-mirroring-part-1.html
-
Very basic question :) in the forum
:)
I don't know her like a basic question, but struggling to get this straight all in detachment.
I just wanted to know the steps to connect the text into a hyperlink when validating responses...
If someone can solve the example: here_ "go-ahead" should be a hypertext link and the link should point to google.com
See you soon,.
Manik.Something like this:
[url http://oracle.com] Oracle
How to write on it?
[url http://oracle.com]Oracle[/url]
-
Basic question on the configuration of the OVD
Hi gurus
I have a basic question about the configuration of the TPM. I have all the "employees" in Active Directory and 'Employees + external users' in OID. The employee user password is maintained in AD, while the same for the external user is maintained in OID.
Query:
I need to configure authentication for an application for the employees present in the AD and present external users in OID. I have to join the profiles of employees present in AD and OID. Even if the employees are present in the OID, I don't want to configure for authentication of the OAM.
How can I implement this using OAM and OVD.I got your condition.
You said that OID contains external users as well as employees. You manage a container separated for employees in OID. If so, you job would be easy. If there is no container separated for employees on the OID and storing all users (employees and external users) in the same container (default: cn = Users, dc = xxx, dc is com) then you can get the list of AD users only with the following ldapsearch command:
ldapsearch h
Pei d 'cn = sleep '' w sub s b ' ' 'objectclass = user' SamAccountName Create three adapters OVD:
1 adapter used (this should point to Active Directory)
2. users adapter (when creating this, you have to exclude users AD, just similar to find the above option).
3 create the adapter to store as the clubs above two adapters.
Now, OAM should talk to store adapter.
I hope this helps.
Thank you
GKPublished by: GK Goalla on October 3, 2012 12:34
-
Entities does not Contribution - very basic question
Hi guys,.
My apologies for this very basic question: I am very new to Hyperion, with just one week of training! Anyway, I'm building a basic model and have noticed that my features are not in the dimension value roll altogether the [Contribution]. This means that entities do not roll upwards!
It was suggested that problem was that I needed a Sub consolidate in the rules, but I put the attribute 'ConsolidationRules' = n. In the documentation it is defined as "N to use the consolidation by default and eliminations".
I was wondering is there anything else that is needed to use default groups, or do I need to create rules?
Thank you
GWhy do you think that's not driving? If your building rules are set to "n" you don't need rules.
Make sure that your presentation was made to IsConsoldiate. Make sure that you're displaying a "Parent.Child" to total Contribution.
-
I have a request of presentation of Oracle, where there are answers, dashboards etc etc already set and I can visualize coorectly in the current state.
What I need now is to migrate to another server of BI.
I don't think it's enough to migrate the RPD file, update the tnsnames.ora and everything will be OKto. What should I do? What is the fundamental role of the RPD file?
Sorry for the basic question, but I'm a newbie
Thank youJin
You must migrate the RPD file and the catalog web and update the nqsconfig.ini and instanceconfig.ini accordingly.
refer to this link
http://www.rittmanmead.com/2008/04/migration-OBIEE-projects-between-dev-and-prod-environments/assign points if found useful.
-
Basic question - graphic legends in the heads side
Hey,.
Hooray, my company eventually got Framemaker, and I am now in charge of the control of FM and fall all our old content FM. I'll use it to create our manual of the product.
Anyway, what I do is align text in the heads side with graphs in the main text column. As follows, from the old manual:
So far, I tried to create a paragraph tag that sets the text in the head to one side. It works, but I can't align the text of the head to one side with the chart. (The paragraph Designer options seem to allow only aligning the text side-head with other paragraphs, no graphics).
So, given that our manual is full of graphs that need aligned beside text, what is the best approach?
Thank you very much. I know it's a very basic question.Ian
A fairly standard practice with framework is to create a paragraph tag that is used only as a part of positioning to hang frames anchored (with images) and tables. The font size is usually set to something like 2 or 4 points, so that it fits in the documents without adding white space. And he never actually wears text.
So if you create an anchor tag and anchor your chart it, you should have a tag to align a sidehead against.
However, if it was me, I probably hang a picture two-column a row of my anchor tag and the graphics of the pop in a cell and a legend in the second.
See you soon,.
Art
-
Im sorry new to this, so it will probably be a really basic question. So, I designed a few Web pages and the opinions they do not adapt to different resolutions. Now, I have been in charge of the search and code search and just can't quite figure out how to get the bottom to adjust. If someone could help me that would be great!
Background images are static unless you repeat them or add you a solid behind color to fill the empty spaces.
CSS:
/ * with background color * /.
Body {background: url #CCC (some - bg.jpg) non-repetition}
or
/ * Repeat image * /.
Body {background: url repeating (some - bg.jpg)}
Liquid layouts
http://ALT-Web.com/templates/CSS2-liquid-page.shtml
Layouts fixed-width, centered
http://ALT-Web.com/templates/CSS2-centered-page.shtml
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
www.Alt-Web.com/
www.Twitter.com/ALTWEB
www.Alt-Web.blogspot.com -
Basic question on the client connection to the Fund with several oracle instance
Oracle 11:
I have just a basic question about how doing listener/customer determine how oracle instance to connect to:
1 tnsnames.ora and listener defines the configuration of the host and the port is that how he comes to know? I'm just trying to understand if the request comes to the listener how listener knows what Oracle instance to route traffic to?
2. when I do sqlplus / as sysdba how knows what Oracle instance to connect to?Look at the differences
[oracle@srv01-18-102 trace]$ cat $ORACLE_HOME/network/admin/listener.ora cat: /u01/app/oracle/product/ 11.1.0/dbhome_1/network/admin/listener.ora: No such file or directory -- start listener [oracle@srv01-18-102 trace]$ lsnrctl start LSNRCTL for Linux: Version 11.1.0.7.0 on 09-JUN-2009 01:05:42 Copyright (c) 1991, 2009, Oracle. All rights reserved. Starting /u01/app/oracle/product/ 11.1.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.1.0.7.0 Log messages written to /u01/app/oracle/diag/tnslsnr/srv01-18-102/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.1.0.7.0 Start Date 09-JUN-2009 01:05:42 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Log File /u01/app/oracle/diag/tnslsnr/srv01-18-102/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=1521))) The listener supports no services The command completed successfully -- startup database SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 849530880 bytes Fixed Size 1346664 bytes Variable Size 725615512 bytes Database Buffers 117440512 bytes Redo Buffers 5128192 bytes Database mounted. Database opened. SQL> alter system register; System altered. -- check again after a while (or for registration via "alter system register") [oracle@srv01-18-102 trace]$ lsnrctl status LSNRCTL for Linux: Version 11.1.0.7.0 on 09-JUN-2009 01:05:50 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.1.0.7.0 Start Date 09-JUN-2009 01:05:42 Uptime 0 days 0 hr. 0 min. 8 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Log File /u01/app/oracle/diag/tnslsnr/srv01-18-102/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=8080))(Presentation=HTTP)(Session=RAW)) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=2100))(Presentation=FTP)(Session=RAW)) Services Summary... Service "DEMO" has 1 instance(s). Instance "DEMO", status READY, has 1 handler(s) for this service... Service "DEMOXDB" has 1 instance(s). Instance "DEMO", status READY, has 1 handler(s) for this service... The command completed successfully -- BEQUEATH SQL> host [oracle@srv01-18-102 ~]$ set ORACLE_SID=DEMO [oracle@srv01-18-102 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.1.0.7.0 on Tue Jun 9 01:17:42 2009 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 With the Partitioning, Oracle Label Security, OLAP, Data Mining, Oracle Database Vault and Real Application Testing options -- Query V$PROCESS SQL> desc v$process Name Null? Type ----------------------------------------- -------- ---------------------------- ADDR RAW(4) PID NUMBER SPID VARCHAR2(24) <--- USERNAME VARCHAR2(15) SERIAL# NUMBER TERMINAL VARCHAR2(30) PROGRAM VARCHAR2(48) TRACEID VARCHAR2(255) TRACEFILE VARCHAR2(513) BACKGROUND VARCHAR2(1) LATCHWAIT VARCHAR2(8) LATCHSPIN VARCHAR2(8) PGA_USED_MEM NUMBER PGA_ALLOC_MEM NUMBER PGA_FREEABLE_MEM NUMBER PGA_MAX_MEM NUMBER SQL> select * from v$process where program like '%(TNS V1-V3)%'; 52ACC7FC 19 26000 oracle 2 UNKNOWN [email protected] (TNS V1-V3) /u01/app/oracle/diag/rdbms/DEMO/DEMO/trace/DEMO_ora_26000.trc 1286124 2699092 1048576 4616664 1 row selected. -- "Jump to OS" SQL> host ps -ef|grep 26000 oracle 26000 14346 0 01:09 ? 00:00:01 oracleDEMO (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq))) oracle 27040 14346 0 01:16 pts/1 00:00:00 /bin/bash -c ps -ef|grep 26000 oracle 27042 27040 0 01:16 pts/1 00:00:00 grep 26000 -- Connect via listener to the database -- content off tnsnames.ora [oracle@srv01-18-102 trace]$ cat $ORACLE_HOME/network/admin/tnsnames.ora # tnsnames.ora Network Configuration File: /u01/app/oracle/product/ 11.1.0/dbhome_1/network/admin/tnsnames.ora # Generated by Oracle configuration tools. DEMO = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = srv01-18-102.amis.local)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEMO) ) ) [oracle@srv01-18-102 ~]$ sqlplus otn/otn@DEMO SQL*Plus: Release 11.1.0.7.0 on Tue Jun 9 01:28:52 2009 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 With the Partitioning, Oracle Label Security, OLAP, Data Mining, Oracle Database Vault and Real Application Testing options SQL> set head off feed on SQL> desc v$process Name Null? Type ----------------------------------------- -------- ---------------------------- ADDR RAW(4) PID NUMBER SPID VARCHAR2(24) <--- USERNAME VARCHAR2(15) SERIAL# NUMBER TERMINAL VARCHAR2(30) PROGRAM VARCHAR2(48) TRACEID VARCHAR2(255) TRACEFILE VARCHAR2(513) BACKGROUND VARCHAR2(1) LATCHWAIT VARCHAR2(8) LATCHSPIN VARCHAR2(8) PGA_USED_MEM NUMBER PGA_ALLOC_MEM NUMBER PGA_FREEABLE_MEM NUMBER PGA_MAX_MEM NUMBER SQL> select * from v$process where spid in (27372); 52ACC7FC 19 27372 oracle 4 UNKNOWN [email protected] /u01/app/oracle/diag/rdbms/DEMO/DEMO/trace/DEMO_ora_27372.trc 705064 938372 0 938372 -- Use info off v$process to join with v$session SQL> select * from v$session where paddr = '52ACC7FC'; 52112690 170 9 107441 52ACC7FC 93 OTN 3 2147483644 ACTIVE DEDICATED 93 OTN oracle 27370 srv01-18-102.amis.local pts/1 [email protected] (TNS V1-V3) USER 4C83D838 1817844678 4qpuh5jq5n6y6 0 09-JUN-09 16777216 4C83443C 1421292656 b1vt3u9abfd3h 0 09-JUN-09 16777216 SQL*Plus 3669949024 0 8244 -1 0 0 0 09-JUN-09 0 NO NONE NONE NO OTHER_GROUPS DISABLED ENABLED ENABLED 0 NOT IN WAIT 41 322 SQL*Net message to client driver id 1413697536 0000000054435000 #bytes 1 0000000000000001 0 00 2000153315 7 Network -1 0 WAITED SHORT TIME 14 3730 DEMO DISABLED FALSE FALSE FIRST EXEC 100 52ACC7FC 4 -- Use info off V$process to look pid on OS SQL> host ps -ef | grep 27372 oracle 27372 1 0 01:30 ? 00:00:00 oracleDEMO (LOCAL=NO) oracle 27413 27380 0 01:30 pts/1 00:00:00 /bin/bash -c ps -ef|grep 27372 oracle 27415 27413 0 01:30 pts/1 00:00:00 grep 27372
-
Basic question MATLAB/LabVIEW
I'm very new to LabVIEW and MATLAB and have had problems making my LabVIEW code compatible with MATLAB scripts I wrote.
In my LabVIEW program, I have simulated two channels one NOR 9237 USB - DAQ and recorded outgoing data in an ASCII .txt file (using the Save to ASCII/LVM vi format). I have also written a MATLAB script that reads this .txt file, removes the header and records digital data in a .txt file. The script works well in MATLAB and does exactly what I need to.
I tried to use the MATLAB script node in LabVIEW to import the MATLAB script that I wrote, and create the new file .txt (with little success). I imported my entire script in the MATLAB node, but the LabVIEW program run any of my statements when I try to run the program. I tried to type in the first several orders of my MATLAB code in the LabVIEW command window, but it keeps returning errors when I try to open and read the .txt file I created with the LabVIEW program using 'fopen' and 'fgetl"from MATLAB commands.
Any suggestions would be much appreciated!
Rachel
It is not a specific VI or function that will do that, but that does not mean it's hard. In your VI you are already save data to a file of measurement using writing to the file of the measure, which is configured to save a .lvm file (which is just ASCII), so why are you re-register? Who is the consumer of these data? If LabVIEW, you can simply use the read measurement VI file to read the file directly. If you want to save the raw data for another program to use and then just use the write to the spreadsheet file VI. This will create a text file using tabs to separate columns:
NOTE: When you wire dynamic data in the input array of writing on a spreadsheet file dynamic data conversion VI gets automatically added.
-
LabVIEW basics - Cahnging Boolean State question based on the input signal
Hi all
I would like the State to change the Boolean indicator based on a simulated sine wave signal. I have partially managed to do this but need help to develop it.
See the attached vi. At the present time changes Boolean false to true when the value of the signal is greater than 8 or lower than-8.
The focus I need is:
Once the signal passes more than 8 (and the Boolean value becomes true), I hope it becomes false again to a value of 9, but only after the peak value was passed or when the signal is down.
Similarly on the negative side of the graph, I want the Boolean value to become reality at 8-under, stay true until after the peak value was passed and then back to false when the value is greater than-9.
Any suggeastions?
Thank you
While Crossrulz responded, I had a little look.
Don't let me spoil your pleasure with the VI attached. Have a go yourself.
-
I started to learn about labview basics. Some help on the fill level sensor,
Question
Provide information. What you want to do labview.
If the serial communication to assure the communication of information.
Maybe you are looking for
-
I have OS X El Capitan 10.11.6 installed on my MacBook Air. I'm not able to mount all files with the extension DMG. This means that I am not able to install most applications outside the Apple Store. I tried to do it manually the file extension DMG u
-
HP ENVY dv6 Notebook PC replacement fan part number of
I need to know what part to buy to replace the fan. I get hp fan 90 b error message that says that my fan is not working properly. A month ago, it started making loud noises. It still works, but I want a replacement nearby is not installed until the
-
want to 4502: incomplete print jobs
Hello. Recently bought a 4502 everything was fine. I now have the problem of being incomplete print jobs. For example, I wanted to print four pages of bank records using pdf/print but it printed only two and a half years. I uninstalled and reinstalle
-
HP ENVY 4500: New ink dry
HP 61 INK - I tend to stock up on top of the ink so I don't miss. Or directly from HP or staples. This is the second time that I reported this. The last time a person at HP took care of me. Four new black ink HP 61 basket are DRY during use. The two
-
Cannot install programs after redirection file documents to drive mapped
I am more able to install programs - after changing the location of the documents folder in Vista on a mapped drive, the operating system tries to redirect the installation to the location of the documents folder and the installation fails. If I retu