LabView serial control
Hello,
I'm currently trying to use LabView for RS-232
communication. The thing is, instead of using
the standard hardware flow control method, I'd
like to be able to control the flow control lines
manually. Is there any way to set the values of
these pins?
Thanks,
M
Sent via Deja.com http://www.deja.com/
Before you buy.
VISA will let you do this. There is a bit of a learning curve, it's
slightly more complicated than the standard serial port VI's but a whole lot
easier than using In/Out port. Once you learn to conform to the standard
style then it actually makes your diagrams straightforward and data-centric.
Also VISA is platform independent, at least it works fine on Win9x/NT. I
have had some trouble with Win3.11 though.
Brendon
wrote in message news:899l6f$4kk$[email protected]..
> Hello,
>
> I'm currently trying to use LabView for RS-232
> communication. The thing is, instead of using
> the standard hardware flow control method, I'd
> like to be able to control the flow control lines
> manually. Is there any way to set the values of
> these
pins?
>
> Thanks,
> M
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Similar Messages
-
11.5.10 : LOT나 SERIAL CONTROL ITEM을 ROI 통해 RECEIPT 하는 방법은?
제품 : MFG_INV
작성날짜 : 2006-05-18
11.5.10: LOT나 SERIAL CONTROL ITEM을 ROI 통해 RECEIPT 하는 방법은?
==============================================================
PURPOSE
Receiving Open Interface(ROI)에서 Lot나 Serial 정보를 위해 사용하는
interface tables은 무엇인지 알아본다.
Explanation
Serial 및 Lot을 control 하는 item을 Receiving Open Interface(ROI)를 통
해 Delivery, Correction, Return 작업을 하기 위해서는 기존에 사용하던
rcv_headers_interface,rcv_transactions_interface table 외에 아래 두
tables에도 data가 입력되어져야 합니다.
mtl_transaction_lots_interface,
mtl_transaction_serial_numbers_interface
이 주목할 만한 변경은 새로운 ROI functionality를 충족하기 위해 11.5.10,
SCM_PF.J/11i.PRC_PF.J 에서 만들어졌다.
많은 dependencies 때문에 이 새로운 ROI functionality는 이전 version을
위한 backport는 불가능하다.
Example
1.Serial Controlled item인 경우 :
INSERT INTO MTL_SERIAL_NUMBERS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
FM_SERIAL_NUMBER,
TO_SERIAL_NUMBER,
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'sr000016',
'sr000016',
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
2. Lot Controlled item 인 경우 :
INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
LOT_NUMBER,
TRANSACTION_QUANTITY,
PRIMARY_QUANTITY,
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'lt2002',
1,
1,
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
3. Serial과 Lot Controlled item인 경우:
INSERT INTO MTL_SERIAL_NUMBERS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
FM_SERIAL_NUMBER,
TO_SERIAL_NUMBER,
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'sr000016',
'sr000016',
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
LOT_NUMBER,
TRANSACTION_QUANTITY,
PRIMARY_QUANTITY,
SERIAL_TRANSACTION_TEMP_ID, --link to mtl_serial_numbers_interface
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'lt2002',
1,
1,
MTL_MATERIAL_TRANSACTIONS_S.CURRVAL, --link to mtl_serial_numbers_interface
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
Reference Documents
Note 301281.1 -
How to know that item is serially controlled or not ?
Hi,
How to know that the ordered item is serially controlled or not ?
In which tables we have refere to know that ?
Thanks--If the item is only serial number controlled and not lot number controlled
select serial_number from mtl_unit_transactions a, mtl_material_transactions b, wsh_delivery_details c
where a.transaction_id=b.transaction_id
and b.trx_source_line_id=c.source_line_id
and c.source_header_number=&order_number
and b.transaction_type_id=33 --34 if it is internal order shipments
OR (If it is lot and serial number controlled)
select serial_number from mtl_unit_transactions a, mtl_material_transactions b, wsh_delivery_details c, mtl_transaction_lot_numbers d
where b.transaction_id=d.transaction_id
and a.transaction_id=d.serial_transaction_id
and b.trx_source_line_id=c.source_line_id
and c.source_header_number=&order_number
and b.transaction_type_id=33 --34 if it is internal order shipments
Thanks
Nagamohan -
I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator. Not sure how to use Labview to control the PLL.
Here is how to use the PLL. But I don't know of how to interact with that device
http://zone.ni.com/devzone/cda/tut/p/id/3781
And for thouse who don't know what a PLL is a free bonus link is here:
http://digital.ni.com/public.nsf/allkb/07BC8D77D4E9AE258625708B007CE74F?OpenDocument
and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC702LP6CE
Now we are all caught up to speed.
Sam S
Applications Engineer
National Instruments -
Urgent : Handling of serial control items
Hi All,
I had developed a concurrent program to automate the process of updating the quantity on hand and average cost whenever a new inventory org is created.
My code is inserting data in mtl_transactions_interface table and after that the Interface manager is taking care of things.
But there are items which are not getting picked from mtl_transactions_interface table and the error is 'For this transaction row the serial records are missing’. Can anyone please advise how to handle the serial control items and what is the specific check needed for these. If anyone has the code for this it would be of great help.
I need this on an urgent basis. Any help will be really appreciated.
Regards,
ShrutiHi All,
We have a requirement wherein whenever a new inventory org is created the quantity on hand needs to be moved & average cost need to be copied from an existing org to a new org with in Oracle. This is currently a manual process and we are automating the same.
For this we are populating the MTL_TRANSACTIONS_INTERFACE table.
The process works fine for normal items but whenever we use this for a serialized item (populating the MTL_TRANSACTIONS_INTERFACE and MTL_SERIAL_NUMBERS_INTERFACE , it gives the errors
‘Invalid status in STD_GRP’
‘SubInv does not match’
in the MTL_TRANSACTIONS_INTERFACE table.
If anybody has come across this or has any idea about this please provide some pointers. It would be really helpful as its getting very urgent now.
Regards,
Shruti -
I want to do a project in Labview which controls 5 light bulbs which lights in a room.
I want to do a project in Labview which controls 5 light bulbs which lights in a room. The switching on of light bulbs depend on amount of sunlight falling on a LDR. Small intensity of sunlight should cause the lighting of one bulb after the other. I need some help in writing my program in Labview.
kasamaneka wrote:
I want to do a project in Labview which controls 5 light bulbs which lights in a room. The switching on of light bulbs depend on amount of sunlight falling on a LDR. Small intensity of sunlight should cause the lighting of one bulb after the other. I need some help in writing my program in Labview.
LDR is a resistor whose resistance decreases with increasing incident light intensity... I know, you are already aware of what LDR is...!!
--> Well what exactly you want a LabVIEW program to do in this setup of yours...??
--> If you want LabVIEW to take control and lit different bulbs, based on the light intensity, I would like to know, how exactly you planned to measure the resistance variation of LDR??
--> What DAQ are you using??
--> Are you aware that DAQ cards can measure the voltage across a shunt resistance (here LDR) and indirectly tell you the variation in the resistant, provided a constant current passing through the resistance.
I am not allergic to Kudos, in fact I love Kudos.
Make your LabVIEW experience more CONVENIENT. -
I'm developing an application in visual basic and I want to utilise some
fancier graphing controls as the MSChart control is not going to be
sufficient for my needs. I've had a look at a few National Instruments
packages, Measurement Studio and the now obsolete ComponentWorks but they
contain a lot of stuff that I don't need (eg. C++ classes) also the $2900
price tag has scared me off a bit. All I want is a graphing activex control
for VB6 that will handle real-time 2D plotting and has features such as
cursors, etc. built in. Does anyone have any suggestions on a good control
out there. I have Labview6i, is there a way to utilise its controls in VB6?
Thanks
NickI don't think you can use any of LabVIEW's controls directly in VB but you can call LabVIEW app's from VB
via ActiveX:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/862567530005f09e86256843004469c8?OpenDocument
In LabVIEW, you could make a small simple VI that has just a chart on the front panel. Compile the VI into an EXE and enable ActiveX server. Then, in VB, you can call the LV ActiveX server and pass it data to plot on the chart.
Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect -
Dear
we are facing a Performance issue in serial control items...
like
while receivng a material to the inventory
and
while issuing a material to the sales order
the management has decided to proceed to no serial control
before proceeding to that i like to the impact after changing that
Note:We have Qunatity with serial contal and pending sales order
Its urgent pls Seniors need ur advice.
Thanks
Mujeeb AhmedDear
we are facing a Performance issue in serial control items...
like
while receivng a material to the inventory
and
while issuing a material to the sales order
the management has decided to proceed to no serial control
before proceeding to that i like to the impact after changing that
Note:We have Qunatity with serial contal and pending sales order
Its urgent pls Seniors need ur advice.
Thanks
Mujeeb Ahmed -
Decimal Quantity Receiving in Serial Control Item
HI ALL,
Can anyone explain, how can i receive decimal quantity in case of serial control item ? I want to receive quantity in decimal while system is showing error.
Plz provide any solution or workaround of the issue.
Regards,
FahdDecimal quantity for a serialized item is unusual.
You should put the item on lot control.
Sandeep Gandhi
Independent Techno-functional Consultant
Omkar Technologies Inc
513-325-9026 -
Component Pick Release - Lot, Serial and 'Lot & Serial' Controlled Items
Hi All,
Please help understand how Component Pick Release handles Lot, Serial and 'Lot and Serial' Controlled component items.
Regards,
AbhishekThis message pops up, if the supply subinventory has "Allow Reservation" checked. But since you have mentioned that you have checked that. Unable to think of anything else.
Since the pickset option is turned on, move orders will be generated only if stock is avl for all the components. So, mention as you have already, ensure if avl mtl has been reserved already. -
How to use LabView to control Primera Bravo II CD burner?
I am trying to use LabView to control the Primera Bravo II CD burner and label printer. The software that controls the Bravo II is PTPublisher. How to use LabView to communicate/control the PTPublisher? Please help, Thanks
Hi Qian,
I installed PTPublisher on a virtual machine, and I was wondering what kind of tasks you wanted to control within LabVIEW. From the program GUI, it appears like the only way to access functions is via mouse clicks. Do you know of any other way to control the Bravo II CD burner besides the PTPublisher software? If not, does the PTPublisher allow you to control it in some way other than clicking?
Peter K.
National Instruments -
Use Labview to control two Picomotor actuators successively through Model 8753 iPico driver
Hello All,
I want to use Labview to control two Picomotor actuators(belong to channel A ,C) successively through Model 8753 iPico driver.Since the example VI's
(Application.vi) from Newport's website just control one actuator at one time, so I copied the example code, thus there are two repetitive sections (see the attachment) in
the while loop structure. The test result was that two Picomotor actuators moved to respective target position circularly. And I found the test was correct when two Picomotor actuators belonged to different address. Can anyone tell why ,what should I do? Any assistance with this matter is greatly appreciated.
Best Regards,
Attachments:
control two picomotor actuators.vi 90 KBBRox,
I had a look at the examples and obviously all it does is to communicate to the drive through RS232 with a proprietary protocol. With the documentation in the block diagram and the documentation of the protocol it shouldn't be too hard to understand what's going on, but on the other side NewFocus has obviously missed a chance to provide a high level and easy to use API for their product...
I can't dive too deeply into the features of this drive, but before you spend too much time on understanding their command language, you should check with NewFocus, if it is possible at all to meet your requirements with their hardware. The main reason why I doubt that is the slow communication speed provided by RS232. The only way to reach a sinusoidal motion profile of 30 to 70 Hz with this type of communication is running the complete trajectory generation and interpolation onboard. If you have planned to generate the motion profile in LabVIEW and send setpoint commands to the drive this will probably not work.
If the drive provides another command input (e. g. an analog +/- 10 V input for torque or velocity command signals), we can talk about alternative approaches.
Regards,
Jochen Klier
National Instruments -
Hi Guys
We are using OE_ORDER_PUB.PROCESS_ORDER API with a custom application (R12 12.0.4/12.0.6) for booking sales orders. Right now we don't have serial controlled items, however pretty soon, we will launch medical equipment sales for which we have to start using serial controlled items.
Anybody has a sample script for the API dealing with serial controlled items?
Regards,
RajWhat kind of serial number related information do you capture during order creation?
Most businesses either generate serial numbers at the time of Sales order issue OR at wip completion.
Sometimes a serial number is generated at WIP assembly begin.
In any case, as long as you don't ALLOCATE serial numbers to a sales order at the time of entry or booking or reservation, you won't need to worry about serial# for oe_order_pub.
The serial# will come into picture for RMA processing. For that, you can use l_lot_serial_tbl_out oe_order_pub.lot_serial_tbl_type in the oe_order_pub. This will let you record the serial number for the product that is being returned.
Sandeep Gandhi -
Using LabView to control a pump
I am a college student working on my senior project. My group is trying to use LabView to control two diaphragm pumps. We have a code written that generates the appropriate signal. The problem that we are having is getting this code to activate the pumps and make them run.
Any help would be appreciated.You really need to provide more information.
What is the interface between the code and the pumps? How does the code communicate with the interface? Are all the necessary drivers loaded?
What happens, exactly, when you run the code? Do you get any error messages? What are they?
Please post your code along with answers to these questions. Also provide any other specific information which might be necessary for us to assist you. Good questions can get good answers. Vague questions will only get more questions!
Lynn -
Help Using Labview to control Kikusui power supply with a PIA4850 controller
HI I need some help using Labview to control 4 Kikusui power supplies. We have a PIA4850 Kikusui power supply controller. I can use the visa test panel and see the PIA4850 but can see any of the power supplies. I have very limited use of Labview and only wrote a couple programs using GPIB. The PIA4850 is a USB controller and can control up to 32 PS. I can get it to work with a Excel demo software that came with the controllers so I know that it is working. Any help will be appreciated. I am using LabView 8.2 and have updated to the Ni-DAQ 9.0. I have a program that I need to incorporate the PIA4850 into once I figure out how to operate it. Thanks in advance.
HI and thanks for the help. I did get one power supply to work but have another problem. I need to control 4 power supplies at the same time and can only operate the one that is addressed N5!C1. If I set the other to N6!C1 and so on I get an error stating
“Error -1074135008 occurred at ki4800_2 Configure Voltage Level.vi Possible reason(s):IVI Error in the method "get_Item" in the component "Kikusui4800". E_IVI_UNKNOWN_CHANNEL_NAME: Unknown channel name (N6!C1)”
I am assuming that I should be able to change the node number and that will change the supply that I need to use. Everything works great if I use N5!C1 I can change any of the supplies to address 5 and can control it with no problem. I can even have multiple supplies with the same address N5!C1 (don’t think I should do that) and change them all at once. I need independent control of each supply.
I am in a pinch here and need to figure it out but could use some help. Any ideas will be greatly appreciated.
Thanks
GBlair
Attachments:
KIKUSUI PS.llb 179 KB
Kikusui Ps Controller.JPG 63 KB
Maybe you are looking for
-
Hello, I am trying to import some data (from excel scheet) from Import Manager in a flat lookup table, but after completing the filed mapping and value mapping, I am unable to add the fields as matching key criteria. They are greyed out in Matching c
-
BRFPlus - license with NW fundation for 3rd party - SAP PO applies ?
Hi, I got the impression that in order to use BRFPlus we need to have SAP NW fundation license for 3rd party, does anyone know, if we have SAP PO (process orchestration) which has a restricted SAP NW fundation license for 3rd party (to be used only w
-
Not Working ENTER TV Tuner in my NOTEBOOK WINDOWS 8.1
Hello Sir, My TV Tuner is not Working in my Laptop (Windows 8.1 64-Bit os). TV Tuner Model- Enter USB 2.0 TV STICK (Model No. E-260U). PLZ Sir Reply.
-
Part-appraisers for 360 Feedback
Hi guys, Have anybody ever had to treat different part-appraisers in a 360 feedback process? My client needs some different types of part-appraiser: subordinated, pair and internal customer (and also self and manager appraisals). All these types of
-
I am trying to create an Flash Air application whereby users are able to change their user alias on the application anytime they want. This will be saved and when users sign in the application again, it will show the "new" user alias instead of the p