I need to log/read RS-232C data with my fieldpoint
Basically I have a hydrometer that outputs data over a RS-232C connection. I was wondering if I could use my compact field point system to read in this data because my computer DAQ sys doens't have room for a RS-232 port. Can I do this and how would I do this
See page 3-23 of your cFP controller manual. You can use the LabVIEW serial VIs to talk through the RS-232 port(s) on your cFP controller. Pity, no VISA though.
Remember that Alliance Members are here to help. We do this stuff every day.
Daniel L. Press
PrimeTest Corp.
www.primetest.com
Similar Messages
-
I need the Log Report for the Data which i am uploading from SAP R/3.
Hi All,
I am BI 7.0 Platform with Support Patch 20.
I need the Log Report for the Data which i am uploading from SAP R/3.
I extract the DATA from R/3 into BI 7.0 DSO where I am mapping the GL Accounts with the FS Item. In the Transformation i have return a routine on the FS Item InfObject . I am checking the Gl code into Z table for the FS Item .
I capture the FS item from the Z table then update this FS item to Infobject FS item.
Now i need to stop the Data upload if i do not find the GL code in the Z table, and generate report for all GL code for which the FS item is not maintained in the Z table.
Please suggest.
Regards
nileshHi.
Add a field that you will use to identify if the GL account of the record was found in the Z table or not. Fx, create ZFOUND with length 1 and no text.
In your routine, when you do the lookup, populate ZFOUND with X when you found a match (sy-subrc = 0) and leave it blank if you don't find a match. Now create a report filtering on ZFOUND = <blank> and output the GL accounts. Those will be the ones not existing in the Z table, but coming in from your transactions.
Regards
Jacob -
Need to log in everytime ?? (with key info, id info))
Need to log in everytime ?? (with key info, id info))
Everytime firefox is closed and reopened, I need to log in with all ID, sync info, ... Not only that, the link to log-in window is not visible (had to click lower-right window to get there). Also, sync seems to be not working (When I update on one computer, it's not updated on the other).
I still want to keep "Private mode" on firefox (this will clear history, saved password), but still want to keep the bookmarks. Is it possible ?You cannot have Sync stay configured across restarts if you clear your passwords on exit. It's simply not possible, I'm afraid.
You might want to consider setting up a Master Password and not clearing your passwords. -
Read MULTIPLE idocs data with all sgmn to my internal table in a single
Dear SAP Folks!
I have a question, I know to read SINGLE idoc data with all segments, we have FM IDOC_READ_COMPLETELY but my requirement is to Read MULTIPLE idocs data with all segments to my internal table in a single shot without keeping this FM in loop! since it is performance issue, at a time i may want to read 1000 idocs data!
Could anyone please let me know is there any way to get this, keeping mind of performance and any other FM?
Best Regards,
SriniHi,
I know idoc numbers and i can write a select Query to DB table EDID4 to get all segments data to my internal table. But i am looking for FM to do this. because i have too many number of idocs and each idoc is having many segments(I am thinking in performance point of view!) The FM IDOC_READ_COMPLETELY can accept only ONE IDOC number as import parameters at a time to get segment data. in similar way do we have any other FM? or other way? except select query to EDID4 table?
Best Regards,
Srini -
Read Dictionary Meta Data with a Single Server Connection
Hello,
I've Enterprise Portal 6.0 SP4 NetWeaver Stack 2 Developer Workplace Sneak Preview from https://www.sdn.sap.com/sdn/downloads.sdn running on my computer and implemented the Tutorial: "Creating A Web Dynpro Application Accessing ABAP Functions" from https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD4_AccessingABAP.htm.
During the setup of the JCo Conneciton for the WD_FLIGHTLIST_RFC_METADATA_DEST in the Web Dynpro Content Administrator in Step 3 I came across the problem that I can not use a Single Server Connection to read Dictionary Meta data.
So my Question: Why is it not possible to read Dictionary Meta Data with a Single Server Connection?
Regards
GregorHi Ruth,
Thanks for the guideline.
I entered an entry in the etc/service file on the m/c which is having SAP WAS 6.40 J2ee installed.(let say ip address 172.16.1.38)
for e.g.
sapmsSA1 3600/tcp
I restated the webAS server.
Then from SAP GUI when i am connecting to SAP R/3 backend system and checking the 'smlg' transaction.....i can see 3 Logon groups with the same name 'PUBLIC'.
Now i have created the BC Message server connection in SLD with this information.
caption - SA1 01
Message server IP = 172.16.1.242
port 3600
After that i specified this message server information to WD_MetaData connection in JCO content administrator.
When i tetsed this connection it gives me error as follow.
com.sap.mw.jco.JCO$Exception:(102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
connect_PM TYPE=B MSHOST=172.16.1.242 GROUP=PUBLIC R3NAME = SA1 MSSERV=sapmsSA1 PCS=1 LOCATION CPIC(TCP/IP)on localhost with Unicode ERROR partner not reached(host 172.16.1.38,service sapgwoo)
connection refused
can u guide me what i am missing?
Thanks,
Mital. -
Need help in reading internal table data
Hi All,
I have two internal tables, it_cdhdr and it_cdpos. Data as follows:
it_cdhdr:
Objectclass ObjectId Changenr Udate Change_ind
EINKBELEG 4500057161 0003273002 20131129 U
EINKBELEG 4500057161 0003273001 20131129 U
EINKBELEG 4500057161 0003272995 20131129 U
EINKBELEG 4500057161 0003178904 20131030 U
EINKBELEG 4500057161 0003178903 20131030 U
it_cdpos
Objectclas ObjectId Changenr Tabname Fname Value_new Value_old
EINKBELEG 4500057161 0003178903 EKKO FRGKE A B
EINKBELEG 4500057161 0003178903 EKKO FRGZU X
EINKBELEG 4500057161 0003178903 EKKO PROCSTAT 05 03
EINKBELEG 4500057161 0003178903 EKKO RLWRT 800.00 0.00
EINKBELEG 4500057161 0003178904 EKET MENGE 1000.000 800.000
EINKBELEG 4500057161 0003178904 EKKN MENGE 500.000 400.000
EINKBELEG 4500057161 0003178904 EKKN NETWR 500.00 400.00
EINKBELEG 4500057161 0003178904 EKKO FRGKE B A
EINKBELEG 4500057161 0003178904 EKKO FRGZU X
EINKBELEG 4500057161 0003178904 EKKO PROCSTAT 03 05
EINKBELEG 4500057161 0003178904 EKKO RLWRT 1000.00 800.00
EINKBELEG 4500057161 0003178904 EKPO BRTWR 1000.00 800.00
EINKBELEG 4500057161 0003178904 EKPO MENGE 1000.000 800.000
EINKBELEG 4500057161 0003178904 EKPO NETWR 1000.00 800.00
EINKBELEG 4500057161 0003272995 EKKO FRGKE A B
EINKBELEG 4500057161 0003272995 EKKO FRGZU X
EINKBELEG 4500057161 0003272995 EKKO PROCSTAT 05 03
EINKBELEG 4500057161 0003273001 EKET MENGE 2000.000 1000.000
EINKBELEG 4500057161 0003273001 EKKN MENGE 1000.000 500.000
EINKBELEG 4500057161 0003273001 EKKN NETWR 1000.00 500.00
EINKBELEG 4500057161 0003273001 EKKO FRGKE B A
EINKBELEG 4500057161 0003273001 EKKO FRGZU X
EINKBELEG 4500057161 0003273001 EKKO PROCSTAT 03 05
EINKBELEG 4500057161 0003273001 EKKO RLWRT 2000.00 1000.00
EINKBELEG 4500057161 0003273001 EKPO AEDAT 20131129 20131030
EINKBELEG 4500057161 0003273001 EKPO BRTWR 2000.00 1000.00
EINKBELEG 4500057161 0003273001 EKPO MENGE 2000.000 1000.000
EINKBELEG 4500057161 0003273001 EKPO NETWR 2000.00 1000.00
EINKBELEG 4500057161 0003273002 EKKO FRGKE A B
EINKBELEG 4500057161 0003273002 EKKO FRGZU X
EINKBELEG 4500057161 0003273002 EKKO PROCSTAT 05 03
As per requirement, the main focus is on Changes to EKKN and EKPO tables and I have to get the latest changes.
If you observe in above it_cdpos internal table data, it has two records,
EINKBELEG 4500057161 0003178904 EKKN NETWR 500.00 400.00
EINKBELEG 4500057161 0003178904 EKPO NETWR 1000.00 800.00
EINKBELEG 4500057161 0003273001 EKKN NETWR 1000.00 500.00
EINKBELEG 4500057161 0003273001 EKPO NETWR 2000.00 1000.00
Now I have read only the latest changenr data. Say 0003273001 , in this case.
My question is how do I know, the latest changenr has EKKN table changes, if you look at it_cdpos data above, the latest one is 0003273002, which doesnt have EKKN changes.
Kindly let me know how to read latest EKKN or EKPO data from IT_CDPOS table.
Thanks in advance,
Rgs,
PriyaHi Priya ,
I guess your requirement is to find the latest change number ,that has got change in both ekkn and ekkpo .
1- Sort it_cdhdr descending .
Loop at it_chdr into w_cdhdr
read table it_cdpos into w_cdpos with key changenr = w_cdhdr Tabname = ekkn .
if sy-subrc=0 .
read table it_cdpos into w_cdpos with key changenr = w_cdhdr Tabname = ekkpo .
if sy-subrc=0 .
"use convenient way to return change number (using varaiable)"
exit .
endif .
endif.
endloop .
By this way change number send will be the latest having both ekkn and ekkpo . If what i assumed is wrong ,then sorry for that . -
How can I read and display data with OR without recording at the same time?
Hi all,
This forum has been of much help to me, but I have a rather specific question I can't seem to find an answer to. I am new to LabView, educating myself with tutorials, trial and error, and this forum.
Attached is what I have so far. I would like to read data (three voltages) and write it to an excel file. As written below, it will do nothing until I click the "Record" button, when it then takes data, displays it on the gauges and waveform chart, and writes it to a file. What I would like it to do is display the data at all times, and record when I click the record button (while still displaying data being read). I have tried to do this by moving the DAQ Assistant VI, gauges, and waveform graph outside of the loops, but when I do this, it will read until I press record, and then it simply records whatever value it's stuck on. Sorry for the long post, thanks for any help.
--Nathan
Attachments:
Record and Write to File 2.vi 332 KBSorry, I don't have any DAQ installed, so I won't comment on the DAQ parts.
First of all, Your VI will do nothing until you (1) first set the record button to ON and (2) press the start button in the tool bar. It almost seems that you are using the "continuous run" button. (Don't! That's not its purpose. Basically, it automatically restarts the program whenever it finishes). A toplevel VI should never stop during normal operation, so place a big while loop around all code and create a wait state that does nothing until you tell it to acquire.
You don't need the inner while loop, simply place your code inside the big while loop (and accumulate your array data in an initialized shift register if really needed. Currently you do at the inner loop boundary for some reason). You have a big problem that the array can grow without bounds unless you clear the accumulated data once in a while or place it in a FIFO buffer of limited size. If you let ot grow forever like you do now, the program might run out of resources at one point in the future.
Since you are appending to your file, maybe yo don't need any shift register, just use the data points of the current iteration. Place your save operations in a case structure and keep appending the new data to your file only if the case is true.
It is also very inefficient to use highlevel file IO here,because each instance opens and closes the file. I recommend to open the file once outside the loop, then use low level IO to append, and close the file once the big loop is done.
LabVIEW Champion . Do more with less code and in less time . -
Need help creating script to clear data with user inputs
Hi experts.
I need to create a script to clear data in a DEV system from a particular junction.
Basically, I need the user to enter a CATEGORY, ENTITY and TIME which will then be used to delete all data in a particular table which meetes those criteria.
I tried to write it in SSIS, but can't get a user input box.
Also, Stored Procedures are not designed to open input boxes for these entries.
Therefore, is there a way to do this in BPC script logic?
I believe that I might be able to write either a Stored Procedure or DTSX package and then pass data from BPC Run Package?
If this is correct, how would I go about it?
Also, would it be possible to read the DISTINCT entries for Category, Time and Entity and present as a dropdown list? (It doesn't matter too much if not, a manual entry would have to do).
I will admit that I have no experience of script logc, so any docments and/or pointers would be appreciated.
ThanksThank Karthik, but I can't use the clear for this job.
Specifically, I need this to delete from the LCK tables whenever data gets stuck, so if anyone can tell me the format to use, I'd be extremely grateful
(And I appreciate that this is not recommended, but it's a DEV system and we need a way to clear these locks quickly when they occur)
Edited by: Pie Eyed on Oct 1, 2011 2:54 PM -
How to log incoming and outgoing data in OSB?
Hi
I need to log incoming and outgoing data in OSB.
What is the best approach to do it?
Thanks
VibhorHave you changed the log level of OSB server? You may do it through weblogic admin console.
Open weblogic admin console and go through -
1. Servers --> osb_server1 --> Logging (tab) --> General (sub-tab) --> Advanced
2. Change 'Minimum severity to log' to 'Debug'
3. Set Log file : Severity level to debug
4. Set Standard out : Severity level to debug
5. Save
Now run a test.
Regards,
Anuj -
Alpha channel data with layered format plugin
I have a layered format plugin and I am trying to write the alpha channel information separately. I have set up channelPortProcs and I am attempting to read the pixel data with readPixelsProc. The issue is that even though the readPixelsProc function doesn't return any errors the rectangle that is supposed to store the rectangle that was actually read is a 0x0 rectangle. I can't seem to find why this would be or what I might be doing wrong. Here's what I have so far:
// set up the pixel buffer
int32 bufferSize = imSize.h*imSize.v;
Ptr pixelData = sPSBuffer->New( &bufferSize, bufferSize );
if (pixelData == NULL)
*gResult = memFullErr;
return;
// Define the source and destination rectangles
ReadChannelDesc *alphaChannel = gFormatRecord->documentInfo->alphaChannels;
PIChannelPort port = alphaChannel->port;
PSScaling scale;
scale.sourceRect = scale.destinationRect = alphaChannel->bounds;
VRect destRect = scale.sourceRect;
// Set up the descriptor for reading pixel data
VRect wroteRect = {0};
PixelMemoryDesc dest = {0};
dest.rowBits = imSize.h*alphaChannel->depth;
dest.colBits = alphaChannel->depth;
dest.depth = alphaChannel->depth;
dest.data = pixelData;
// Put the pixel data into the buffer
*gResult = gFormatRecord->channelPortProcs->readPixelsProc(port,&scale, &destRect, &dest, &wroteRect);
if(*gResult != noErr)
return;
The alpha channel gives me the proper name, but I just can't get the data associated with it. Thanks.I am still trying to find a solution to this. The propChannelName is read only and the documentInfo structure is NULL when reading. Any suggestions?
-
I need to move my "auto-complete" data to my log-in on the companies computer.
I need to move my "auto-complete" data to my log-in on the companies computer.
How do i do this? Replicating the dateSee:
* http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
* [[Recovering important data from an old profile]] -
Data from a file need to be read and mapped into a custom table of R/3
Hello all,
This is related to inbound to SAP ECC via SAP PI.
There is a requirement concerning PI part that data from a file need to be read and mapped into a custom table of R/3.
To have this scenario developed , do we have any other option than the Proxy ?
My understanding is as follows : File --> SAP PI --> Proxy
You suggestions are welcome.
Regards,
RachanaHi Ravi,
As suggested by Inaki, you can use proxy communication in recever.
but you can also use the below
FILE -----> PI -------> PROXY
RFC
IDOC
to communicate to ECC system.
Regards
srinivas -
Process Order status CRCR needs to re read master data
All,
I have an issue with re-reading the master data in process order.
I have an order which was released and control recipe was also released since we use pi sheet to record shop floor data.
After releasing the control recipe user made changes into bom and he wanted to re-read master data , on the master data tab re-read master data button is not activated not if i go menu path from the header process order-> functions-> re-read master data is active.
Neither i am allowed to set the deletion flag for the order, i am getting error message process order status CRCR does not alow to set the delection flag.
Any solution to this issue is appriciated
Either i should be able to re-read the master data or set the deletion flag...In your case Control Recipe is already created, so you need to send a process message to set the status of the control recipe to finished. "CRFI". Follow the steps below,
Transaction CO57, to trigger manually a process message with message Category PI_CRST for the process order and Control reciepe combination.
Then use Transaction CO54 to send the Message to the process order.
You can complete the PI Sheet by clicking the "complete" button in the PI Sheet also.
Now try to re read master data -
How do I know what OS I have on my iMac? I've used it as a PC for years and need to switch over but I may be out of date with current software. I think I read Lion somewehere....? OS 10.5.8
Click on the Apple icon at the top left of your menu bar, then About this Mac.
OS 10.5.8 is Leopard. Lion is 10.7
As for upgrading:
Start by checking if you can run Snow Leopard:
Requirements for OS X 10.6 'Snow Leopard'
http://support.apple.com/kb/SP575
The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
and in the UK:
http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
but nobody knows for how long it will be available.
When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
http://support.apple.com/kb/DL1399
Check via Software Update whether further updates are required.
You should now see the App Store icon, and you now need to set up your account:
http://support.apple.com/kb/HT4479
To use iCloud you have to upgrade at least to Lion, but some functions are only available in Mountain Lion:
http://support.apple.com/kb/HT4759
You can also purchase the code to use to download Lion (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
http://www.apple.com/osx/specs/ -
Need help in reading data from Database.
Hi experts,
I have created a custom smartforms and custom print program. In my print program i have read all the data and populated the internal table and i am able to display the data in the smartform output.
I'm using Tcode me23n to print preview the form. i have to read the "text" tab from the me23n tcode using FM "READ_TEXT". The data is getting populated into an internal table. I coded these statements in Initialization tab in global definition.
Now my problem is ..... Can anyone tell me how to display the data into the forms.
please help.
ThanksFollow below example to using FM 'READ_TEXT'
DATA BEGIN OF i_tlines OCCURS 0.
INCLUDE STRUCTURE tline.
DATA END OF i_tlines.
DATA: w_textname(70) TYPE c.
w_textname = vbdkr-vbeln.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'Z006'
language = 'E'
name = w_textname
object = 'VBBK'
TABLES
lines = i_tlines.
IF sy-subrc = 0.
READ TABLE i_tlines INDEX 1.
t_in-m1 = i_tlines-tdline. "Now t_in_m1 will have the value
ENDIF.
Regards,
SaiRam
Maybe you are looking for
-
1> I want to define a web-based application as partner application for portal. and define a partner application in portal and set the Home URL and Success URL, the question is from where in portal it can be called ? 2> I want to get portal user withi
-
Issue on physical standby database
Hi I've a problem on standby database. I recently added a datafile on primary database, then I scp'ed the data file to physical standby database.On physical standby database I tried performing recovery. I get following message in my alert log WARNING
-
I haven't used my ipod for a long time( maybe half a year), when i tried to start it again, it shows "connect to Itunes" on the screen, once i connected to the Itunes, it started to ask me to recover it with a backup, i couldn't find where is my bac
-
I have noticed that sometimes i will send someone an audio snippet and they don't get it, I know it expires after two minutes from being heard does that time limit also apply to them even if they aren't heard?
-
FM to collect data from InfoProviders
Hi, What is the FM to collect data from InfoProviders and write back to the Planning buffer? Thanks. Have a great day.