GAIN PHASE Data collection from HP4194 using a GPIB card?
I'm trying to collect gain and phase data on a HP4194 using a GPIB card. I'd like to collect this data and run it to an MS Excel spreadsheet. Does any one have any VI's that do this??? So far, I haven't been able to find any commands that read each of the 401 elements to labview.
HERE'S AN EXAMPLE OF DATA I WANT TO READ:
http://www.tec.ufl.edu/~shailu/labview/4194a/4-pt/505/II/archive/pxfn1.txt
Please email me at [email protected], if you have a solution. Thanks.
That sounds like a bit of LabVIEW coding. Here's some resource that will help:
-The instrument driver for this device is available at ni.com/idnet.
-LabVIEW has a WriteToSpreadSheet.vi on the File I/O function pallete.
-The Programmer's Reference for the 4194 gives the strings to send of the GPIB bus.
Randy Solomonson
Application Engineer
National Instruments
Similar Messages
-
Campus Manager No Data Collected from Network
Just intergraged CiscoWorks with ACS. Now when we select Campus Manager | Visualization | Topology Services we get the following error message:
No Data Collected from Network
1.Devices are not availiable from DCR or
2.You have not performed data collection at least once
When we look at Common Services | Devices and Credentials | Device Discovery the total devices discovered and the devices reachable indicate there are devices that were found.
We could see devices fine before the ACS intergration but now, we cannot see any devices.
Any thoughts?The devices (original clients) that I defined are as follows:
10.0.1.*
10.0.10.*
10.0.2.*
I was able to see these clients. Deleted the above clients from ACS and added:
10.0.1-10.*
So that I can see the above clients and others (10.0.3.*, 10.0.4.*,etc).
I can still see the original clients only. The others show up in Devices not configured in ACS report.
What do I need to do? What did I miss? -
How can I use "Family Sharing" without giving details of my credit or debit card? I do not want to give my cards data, I have always used iTunes prepaid cards.
Hi Saramos,
When setting up Family Sharing you must have a credit or debit card as your payment method. See this article for reference -
Family purchases and payments
When a family member makes a purchase it will be billed to any gift or store credit that they have first. If none exists it will be billed to you.
As the family organizer, you may not set your billing method for purchases to anything other than a credit or debit card. If you have a store credit such as from pre-paid cards, it may not be shared with other family members. See this article for reference -
How iTunes Store purchases are billed
Thanks for using Apple Support Communities.
Best,
Brett L -
How can I use "Family Sharing" without giving details of my credit or debit card? I do not want to give my cards data, I have always used iTunes prepaid cards.
Hi Saramos,
When setting up Family Sharing you must have a credit or debit card as your payment method. See this article for reference -
Family purchases and payments
When a family member makes a purchase it will be billed to any gift or store credit that they have first. If none exists it will be billed to you.
As the family organizer, you may not set your billing method for purchases to anything other than a credit or debit card. If you have a store credit such as from pre-paid cards, it may not be shared with other family members. See this article for reference -
How iTunes Store purchases are billed
Thanks for using Apple Support Communities.
Best,
Brett L -
Hi, Cannot communicate with other instrument devices (Using AT-GPIB card)
Using AT-GPIB card to communicate with instruments that the running program is in C. After installed 488.2 software and test Hardware Diagnostic Test and Software Diagnostic Test. Everything is OK but after I run execute file the errors appeared. They displayed "GPIB cannot find Amplifier,or Unidex". My main task is transfer the AT-GPIB card from PC 386 to PC windows 98. Please help me to solve these problems. May I still use the old execute file to put in drive C in new PC Wins 98 and run that program. Thanks
Hi,
It is hard to say what this could be. Everything tests OK so it is likely that your card is correct. Does MAX detect the instruments? I am not familiar with that error message. Is it the output of some custom program or the driver itself? It seems like it is not a driver level problem, but it is hard to say given the information.
By "May I still use the old execute file to put in drive C in new PC Wins 98 and run that program" do you mean keep an old application? If yes, then you should be able to use the old applicatoin with teh win98 driver. If you are refering to the driver itself, then no. You will need the windows 98 driver. This can be found at http://www.ni.com/support/gpib/versions.htm
Hope this helps out.
Best Regards,
Aaron K.
A
pplication Engineer
National Instruments -
Populate collection from function using refcursor
Hello,
I have a question about table functions.
I'm looking to develop a table function that populates a collection based on a select query. The idea is that the user can pass 1+ variable to a select query in the table function and return a collection of data dependent on the variables they choose, as:
create type a1 is object (col1 varchar2(1000), col2 varchar2(1000), col3 varchar2(1000));
--varchar2(1000) used for simplicity
create type a2 is table of a1;
create or replace
function a3(p in varchar2)
return a2
is
mycollection a2:= a2();
myparam varchar2(10):= p;
begin
select a1(topic,null,info)
bulk collect into mycollection
from help
where topic = myparam;
return mycollection;
end;
This executes fine using
select * from table(a3('ACCEPT'));
but when I try to write this using a ref cursor instead (even though it might be less efficient) I can't work out how to return multiple columns in a function. I appreciate this is hopelessly wrong, and suspect I'm nowhere near populating type mycollection a2, but:
create or replace function a4(p in varchar2)
return a2
is
mycollection a2:=a2();
myparam varchar2(10):=p;
c_cursor sys_Refcursor;
begin
open c_cursor for select seq,info,topic from help where topic = myparam;
loop
fetch c_cursor into mycollection;
exit when c_cursor%notfound;
end loop;
close c_cursor;
return mycollection;
end;
This does not execute using
select * from table(a4('ACCEPT'));
and returns
ORA-06504: PL/SQL: Return types of Result Set variables or query do not match
ORA-06512: at "SYSTEM.A4", line 14
06504. 00000 - "PL/SQL: Return types of Result Set variables or query do not match"
*Cause: Number and/or types of columns in a query does not match declared
return type of a result set variable, or declared types of two Result
Set variables do not match.
*Action: Change the program statement or declaration. Verify what query the variable
actually refers to during execution.
Could anyone show me how me how to populate a collection using a refcursor instead of bulk collect? Am using 11GR2.
Thanks,
TP,I'm looking to develop a table function that populates a collection based on a select query.
That is pretty much the definition of a PIPELINED function.
-- type to match emp record
create or replace type emp_scalar_type as object
(EMPNO NUMBER(4) ,
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7, 2),
COMM NUMBER(7, 2),
DEPTNO NUMBER(2)
-- table of emp records
create or replace type emp_table_type as table of emp_scalar_type
-- pipelined function
create or replace function get_emp( p_deptno in number )
return emp_table_type
PIPELINED
as
TYPE EmpCurTyp IS REF CURSOR RETURN emp%ROWTYPE;
emp_cv EmpCurTyp;
l_rec emp%rowtype;
begin
open emp_cv for select * from emp where deptno = p_deptno;
loop
fetch emp_cv into l_rec;
exit when (emp_cv%notfound);
pipe row( emp_scalar_type( l_rec.empno, LOWER(l_rec.ename),
l_rec.job, l_rec.mgr, l_rec.hiredate, l_rec.sal, l_rec.comm, l_rec.deptno ) );
end loop;
return;
end;
select * from table(get_emp(20))
In this example the user would provide a 'DEPTNO' value and the query (at the end) would return the rows of the EMP table for that value.
You can use your own TYPEs and add other parameters as needed.
See 'Using Pipelined and Parallel Table Functions in the Data Cartridge Dev Guide
http://docs.oracle.com/cd/B28359_01/appdev.111/b28425/pipe_paral_tbl.htm
And see all of the sections dealing with Pipelined functions in the PL/SQL dev guide
http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm#sthref1525 -
How to store the data read from excel using java code in Ms access database
Hi. I wrote a code to read the data from excel. May i know how can i save it to Ms access database using java. Also i have many excels. So i should not connect the database using DSN. So is there any other way to achieve this?
kramish wrote:
Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
just doing a quick Google came up with some pages:
http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
Kaj -
Data Read from Infoprovider using BAPI
Hello Team
we are using SCM 7.0
We want a BAPI which can be used to fetch data from infoprovider (for selected Chars and CALMONTH) and display it on a Z Screen.
Can any one one please let me know the BAPI?
We tried FM RSDRI_INFOPROV_READ , BAPI /SAPAPO/DPBW_CUBE_READ in SE37, but it gives the error as - Error generating the test frame.kramish wrote:
Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
just doing a quick Google came up with some pages:
http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
Kaj -
Data read from Memory use - ranked list
Dear Experts,
I am trying to read data from memory use -ranked list.
In general we use function pool to read the data but in case if we should read the data from a class can we do it.
{O:267}-IF_PT_HRS_D_IF~IM_CONTRACT_TES[1]-TES
in the above class in TES table we have data , we have to read data from TES .
In memory use ranked list it is like below
{O:451*\CLASS=CL_PT_HRS_IF}
Object
Regards,
Kartheek.Philip
This one is really tricky. Display value just shows the rank but it would hold the actual value when you try to do calculations.
We have had similar problem but it was not related to ranking.
One Simple approach could be
Make them use Wrokbooks and do this calculation by using a SUM formula in Excel. Excel will consider whta is being displayed as a value for that cell
One far complicated solution is you can use the Olympic ranks and Do your sum in a Macro.
What I mean is if you get the last rank to be 10 then you can write your program to do the sum as
1098765432+1.
This approach could be taken only if they are OK with Olympic ranking.
Edited by: Abhijit N on Dec 10, 2008 10:19 PM -
Microsoft Azure for machine learning on data collected from microsoft spectrum observatory
Dear Sir,
Can any one please suggest how shall I apply Microsoft Azure for applying machine learning techniques on spectrum data available from Microsoft spectrum observatory . Please send a mail.
Regards,
pavanHi Pavan!
Apologies, I'm not familiar with MSO - how are you collecting the data provided there? Is there an API? Do you have access to the raw data?
Regards,
AK -
Where does the date come from when using Tip type = dateFormat
Hi,
Can anyone tell me when using personilizations where the date that is shown comes from when using tip type = dateFormat? Today it shows (example: 24-Sep-2012) but yesterday it was the 23rd so seems to increment by one day. Is there a way to change the date shown here, to sysdate for example?
ThanksHi,
You can check Inline Messaging, Tips, Hints and Bubble Text section in OA Framework Developer Guide
Thanks,
Jit -
How to use a GPIB card's LabView drivers to communicate with the card?
I have an axiomtek AX4810P PCI-GPIB card and i have aquired LabView drivers from the manufacturer.
This has put VI's for the GPIB functions on the 'user palette' but i can't work out how to use them to communicate with the card. can anyone help? please.LS,
Thank you for contacting National Instruments.
Unfortunately, since you are not using a National Instruments GPIB card, I do not have access to the drivers that were provided to you by your card's manufacturer. I would suggest contacting Axiomtek directly to obtain support using their drivers.
However, I did write a small VI that demonstrates how to use similar National Instruments drivers with a National Instruments GPIB card. Keep in mind, this example VI is not intended to work with your particular card. The drivers you obtained from Axiomtek may have similar functions, however, and you can use my VI as a guide. My VI allows you to send a command to an instrument at address 2 on the GPIB card.
Hope this helps!
Matthew C
Applications
Engineer
National Instruments
Attachments:
GPIB_Communication.vi 23 KB -
How do I use multiple GPIB cards in one computer?
I have two GPIB cards installed in my computer. One has aprimary address 0 and the other is 1. The card with adress 0 works fine but when I try to communicate with some instrument via the second card, the instructions are not carried out. However MAX ha detected the presence of instruments on both the cards, but it is only that when the second card(address 1) is used the intructions are not carried to the instrument. Please advise on how to select the card while sending an instruction? Or is it that I can use only one card at a time??
When you say that your commands aren't carried out, could you describe what commands you are sending, and what error is being returned?
When you say that you cannot communicate with the second instrument, are you using the 488.2 Communicator in MAX?
Did you make sure that all the settings for the second GPIB board in the properties page are correct? -
Can we create a pdf using data collected from a forms central form?
I have a form in Forms Central that is collecting data and I want to take the data and merge the fields into a pdf document with merge fields. Then send the completed merged pdf to someone else automatically?
Hi,
Kindly post your query in FormsCentral forums:https://forums.adobe.com/community/formscentral
Regards,
Florence -
How do I create a form using data collected from a previously completed form?
I need my users to fill in an initial registration form with a range of details. Six months or so later I need to ask the users to confirm the details and also fill in new information. Is there a way I can have the second form be automatically populated with the initial form information so they only have to fill in the new information. I need all the information to be stored in the one database. Thanks
Sorry we do not support this workflow.
Gen
Maybe you are looking for
-
Hi, I am trying to insert a csv file as a single record as a CLOB (one row for entire csv file) and trying to do that via external table. But unalbe to do so. Following is the syntax I tried with: create table testext_tab2 ( file_data clob organi
-
Sometimes when I am using photoshop CS3 or flash 9 standalone (and other applications too) the mouse icon disappears. In photoshop when I move my mouse out of the canvas it goes away, to get the pointer back I hit command-tab to bring up the app swit
-
I watched a tutorial earlier today showing that Buttons can be interactive within a iPad app, but I cannot get my app to have working buttons. When I view a preview with the SWF preview everything works ok. But when I view with the folio preview/ on
-
Hi @ll, i am using bw 3.5.... I`ve a question as to OLAP Cache. Is there any possibility/method to fill the Cache automatically every day? Id like to use the performance enhancement of caching queries....but i would like to avoid it that the first us
-
Recover IMEI number (without the device)
Hi Forum! My Bold 9000 was stolen and I did not write down the IMEI number. In order to report the theft to the police, it would be very helpful to have the IMEI. Actually, I thought that this number was stored within the backups that I made (using t