I need to find a more complicate​d example, specifical​ly using arrays as inputs and outputs, to Code Interface Nodes.
I am a beginner in C programming and I cannot understand how to use the structures that LabVIEW creates for its arrays in C. Can anyone point me to a good example?
Check the following answer that I posted recently to a similar question.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000006D1E0000
Good luck!
Vargas
www.vartortech.com
Similar Messages
-
Hello , I need to find the serial number of my programs .
Would anyone know where and how to do it?
The programs are installed on PC
Thank youFind your serial number quickly
-
i need to find the download for ACR 7.3 to use my nikon d600 raw files. i have cs5 running on macbook pro with mountain lion OS.
Hi,
Unfortunatly the 7.x series of camera raw plugin is not compatible with photoshop cs5.
You could download the 7.4 DNG Converter and convert your d600 files to dng copies which then photoshop cs5 will open.
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5568 -
Hi, I've been stolen and I need to find my iPhone, how can I do this using the IMEI?
You cannot do this using IMEI.
If your iPhone, iPad, or iPod touch is lost or stolen - Apple Support
Report a lost or stolen Apple product - Apple Support -
i have 1TB time capsule and i need to back up more media. Can i also use a 3TB time capsule asswell?
You can, but it is not possible to continue backups "seamlessly" from one Time Capsule to the other.
Time Machine will make a new complete backup of each Mac on the first pass when you connect the new 3TB Time Capsule. -
Table name input. and output i need all rows and columns using procedures
hi,
question: table name input. and output i need all rows and columns by using procedures.
thanks,
To AllAn example of using DBMS_SQL package to execute dynamic SQL (in this case to generate CSV data in a file)...
As sys user:
CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
/As myuser:
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
,p_dir IN VARCHAR2
,p_header_file IN VARCHAR2
,p_data_file IN VARCHAR2 := NULL) IS
v_finaltxt VARCHAR2(4000);
v_v_val VARCHAR2(4000);
v_n_val NUMBER;
v_d_val DATE;
v_ret NUMBER;
c NUMBER;
d NUMBER;
col_cnt INTEGER;
f BOOLEAN;
rec_tab DBMS_SQL.DESC_TAB;
col_num NUMBER;
v_fh UTL_FILE.FILE_TYPE;
v_samefile BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
BEGIN
c := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
d := DBMS_SQL.EXECUTE(c);
DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
ELSE
DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
END CASE;
END LOOP;
-- This part outputs the HEADER
v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
FOR j in 1..col_cnt
LOOP
v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
END LOOP;
-- DBMS_OUTPUT.PUT_LINE(v_finaltxt);
UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
IF NOT v_samefile THEN
UTL_FILE.FCLOSE(v_fh);
END IF;
-- This part outputs the DATA
IF NOT v_samefile THEN
v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
END IF;
LOOP
v_ret := DBMS_SQL.FETCH_ROWS(c);
EXIT WHEN v_ret = 0;
v_finaltxt := NULL;
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
ELSE
v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
END CASE;
END LOOP;
-- DBMS_OUTPUT.PUT_LINE(v_finaltxt);
UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
END LOOP;
UTL_FILE.FCLOSE(v_fh);
DBMS_SQL.CLOSE_CURSOR(c);
END;This allows for the header row and the data to be written to seperate files if required.
e.g.
SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
PL/SQL procedure successfully completed.Output.txt file contains:
empno,ename,job,mgr,hiredate,sal,comm,deptno
7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10The procedure allows for the header and data to go to seperate files if required. Just specifying the "header" filename will put the header and data in the one file.
Adapt to output different datatypes and styles are required. -
Need to find the assets associated to a BCC project using SQL query
Hi,
Given a BCC project (project_id), I need to find the assets (type of asset, version, status etc) in that project using SQL queries.
I need this for reporting purpose and cannot do this programatically using any code.
Surprisingly ATG does not store this association in a direct way. Can someone provide me the query if you have already done this before?
I tried enabling loggingDebug in PublishingRepository and VersionManagerRepository to get the queries, but I did not get what I want.
Thanks in advance,
Gopinath RamasamyUPDATE:
When a project is selected in BCC, ATG is doing something crazy, as it appears to me, of querying all the tables (ofcourse when there is a cache miss) in all the versioned item descriptor with the workspace id of the project to display the assets contained in it.
I do not see an easy or direct way of coming up with a query for this requirement.
Please let me know if anyone has any other idea.
Thanks,
Gopinath Ramasamy -
Ive seen many online and even some old links to products in the apple store, but these links are broken or the product is discontinued
See: http://pcmicrostore.com/2ND-GENERATION-APPLE-IPOD-SHUFFLE-USB-DOCK-STATION-WITH- AC-ADAPTER-CHARGER-W-AUDIO-OUT-YOUNG-MICRO/cat-p/c/p10504710.html
Would anyone else know of a viable solution or could find a used product of the same attributes?
Would a simple 35mm headphone splitter provide both wall charging and playback?If you have purchased the 16gB model, the wrist band is not included, and will need to be purchased separately.
WHATS IN THE BOX
iPod touch
iPod touch loop
(sold separately for 16GB model)
Apple EarPods
Lightning to USB Cable -
Hi,
In order to use Cha Cha's tools I need to roll back to version 3.6.16 or earlier as noted by them: "Please note: the ChaCha Toolbar is currently not compatible with FF 4.0 or 5.0. If you have Firefox version 4 or 5, please revert back to a previous version of Firefox. 3.6.16" Nees help with this as the erliest version that comes up readily is version 3.6.20
Thanks,
Frankie DunhamIf you haven't already used Firefox Sync, you don't have a Sync account.
If all you want to do is use Firefox Sync, you can install the Firefox Sync extension into Firefox 3.6.x versions. <br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-sync/ -
Need to find out a way to figure out how DB2 connect to Oracle and data mirroring etc.
Hi, Gurus,
I just take over a project which source is ICOMS as400 db2 database. Seems data mirro CDC is used to replicate from DB2 to oracle.
I am very new to this datamirror CDC , plus I am new to figure out how db2 connect to oracle, is that through db link or what? or is there tnsnames entry?
I would like anybody in this forum can point me to the right direction.
Thanks in advance.user9233598, if mirroring/replication from DB2 to Oracle already exists then question is what product is being used? If the product has already been purchased then I do not think it is very likely that management is going to want to purchase another product so I do not see how extra-cost Golden Gate or other Oracle Gateway features apply if those are not currently in use. If Golden Gate or the Oracle Transparent Gateway are in use then you already have your answer
Oracle supports ODBC/JODBC and the replication application on the AS400 likely uses these features or a thick Oracle client as the interface to Oracle.
HTH -- Mark D Powell -- -
I use Time Capsule, 802.11n (3rd Gen) 7.6.1 (1Tb) as a wireless router and a network drive. I do not use Time Machine at all. How do I create a backup of the files housed on the Time Capsule to an external drive?
Also, why does the use of Time Capsule as a network drive seem to be such an usual configuration? The configuration makes sense to me, aside from the inability to automatically back up the Time Capsule itself to a cloud or other drive, which, to me, is what really makes no sense at all. Is there something else I should be using? I'm not too familiar with the wisest way to set up a home network. I just know I like to wirelessly have access to my files from multiple computers within my household as opposed to saving files on any one computer locally.
Thanks for your assistance and advise!
erinblytheYou could connect a USB hard-drive to the USB port on the TimeCapsule and Enable Disk Sharing on both the TC's Built in Drive as well as the USB connected one.
Then these drives can be mounted using finder and files copied between them as needed.
The main advantage of time-machine is - automation(like you mentioned) + to be able to go back in time - i.e. ability to restore files from a certain date/time. Multiple versions are available for restore.
Also in Mountain Lion - You can restore your mac from a time machine backup very easily - it is one of the options when you boot to the Recovery Partition (ditto when you boot ML from DVD/USB)
Hope this helps. -
Hi,
New here, trying to restore my i phone 5 to newly refurbished i phone 5 and couldn't do it w/ wizard. old phone had OS-7 new came with OS-6... wouldn't let me restore from cloud without same operating system.
Installed os-7 only option then was "new device" which closed wizard and welcomed me to new phone.
on settings I see my old i phone in cloud
since I've added new contacts, pics.... (got it Christmas eve)
I'm guessing somehow I need to save pics to computer;
backup contacts etc to new device
restore old i phone back up then somehow get contacts and pics only back on new device...
am i on right track or is there an easier/better way?
don't know how to do last step - w/o replacing majority of contacts
Thank you,
Maid Marian, IISimple process. If an iPhone go to the Apple Store and not Verizon
the phone from Verizon will be a refurbished device and not new unless under the 14 day worry free guarantee
good luck -
Need help with PreSonus Firebox, MIDI, and inputs and outputs
Hey everybody, I'm new, and I just recently got Logic Pro 8 and a PreSonus Firebox. I have had no trouble with recording MIDI in Logic, but I have had problems with recording audio devices, like a guitar or a bass.
When I record MIDI, I hear it perfectly through the speakers on the Mac, and it records just fine. But the guitar won't come through. I have tried changing the core audio device to "PreSonus Firebox," in which case I still can't hear the guitar, but it records. Once it's been changed to this device, I can't hear anything else I've recorded either, like the MIDI. Once I've changed it back to "Built in input," I can hear everything, including the recorded guitar.
So the problem is, why can't I make Firebox my input, and my computer the output, so I can play through the Firebox and hear it on the computer?
Here is how everything is laid out: I have a Casio keyboard connected by MIDI through the Firebox, which is connected to my Macbook Pro through FireWire. There is also a guitar plugged into the Firebox. Please help, I'm really excited to start recording!sorry I'm not getting a few things....
1) how do I create a midi object?
you create the midi object in the midi inst layer of your environment. at the top left under the menu that says "new" select the very 1st thing in the list, "instrument" (midi instrument)
2) where do I assign the midi output?
after you create the instrument the perameters box opens on the left. you assign the port and channel there
5) where are the audio outs?
to what? the roland? doesn't it have audio output?
I've been reading the manual and have tried various
forums.... been trying to get this since last
night.... my brain. I know it's gotta be simple...
not real simple but not real hard either -
They have ordered for just under 100 euros!! i now need to find out more! any suggestions?!
thanks!You can report a problem with unauthorized purchases > How to report an issue with Your iTunes Store purchase
Change your Apple ID password > Apple - Support - Apple ID -
I have no computer training, having issue w/mail not working, adobe flash wont work so i cant look at youtube instructional videos and some other issues-i have exchanged the computer and at first it starts fine but then it happens...have looked for clues in log history but I am ignorant... ex may have accessed system. Need to find someone unconventional in my near area who can assist with training and security...not really rich right now, could trade/barter services or pay a small amount, where are the best places to look for said persons? Also having issue with my new smart phone...mail not coming in right and ex has come on the line when dialing out. Also have an old laptop computer needs wipe and reload to remove all kinds of bad stuff it has. It would be my first attempt and I would prefer someone with me to show me.
Try Apple One To One.
http://www.apple.com/retail/learn/one-to-one/
Best.
Maybe you are looking for
-
This happens several times I open mail in out look. several windows pop up heading file down load.It asks whether I would like to open/save or cancel. When I try to open it goes to internet and start Loading...but nothing happend. example of one such
-
I wrote my apple ID questions in 5th grade, and am in 9th now, so I can notremember them. my emergency email with the info was deleted, so I can not change them, and for some reason, my birht date will not go through, so I must have put the wrong thi
-
SAP.m JS/XML and Gateway service
Hello I've been trying to consume a gateway service with the sap.m classes. it turned out quite difficult for me as im new in this whole web thing, and most of the examples for sap.m are in XML. i've tried to convert some of the examples in sap.commo
-
Unable to login network user from login windom. SSH login ok.
I have a MacOS 10.6 client and ldap network users server by MacOS 10.4 Server. Trying to login via the login window I get "Logging in..." which tries forever (or until I reboot). * SSH login works fine with network users. * Local users can login. * N
-
For the past couple of days itunes hasn't been opening for some reason. i recently burned a few movies to my computer and thats it. Only about 2 GB left, but this never happened before. Help please? Dell dimension 2400 Windows XP