NXT custom output
I'm constructing a robot for a school project in which I am needing to use custom NXT inputs and outputs. For my input I am needing the NXT to recognize a voltage sent to it from a metal detector (between 1.5 and 1.9 volts) and then rotate a motor, to specific degrees that correspond to a sorting device I have made. Secondly I need a custom output that will send a voltage to a solednoid to life a plunger to allow a coin to fall through a hole. I am having troubles creating code that will succesfully run, and perform the actions desired....any help will be much appreciated.
Solved!
Go to Solution.
Hi LracNayr,
I'm not familiar with the NXT. What I can offer is going to be more of a top
level approach to trouble shooting. I would recommend that you visit the Lego
FAQ webpage for more specific trouble shooting steps.
If you are having an issue with reading in the input, the first step I would
take is to read the raw voltage output from the metal detector using a DMM.
Your metal detector may not be outputting the correct voltage for each of the
corresponding coins. Once you have verified that the output voltage is correct,
I would go on to test the raw voltage reading with the NXT hardware. With NI
products, you can accomplish this using Measurement and Automation (MAX). I do
not know if this is possible with NXT, however, the general principle will be
the same. You want to verify the output voltage from the hardware first before trouble
shooting the software. When that's done, it's unlikely that you will see an
error assuming that you are using the appropriate functions.
I hope this helps. As stated before, NI does not support this particular
product. I strongly recommend that you visit the link I send you with a
previous post.
Regards,
Josh L.
Applications Engineer
National Instruments
Similar Messages
-
Issue with configuration of 'Special Function' to a custom output type
Hi Experts,
In my project we have a requirement to configure a custom output type for application V3 (billing) and assign a Special Function to it. I have assigned a custom Program Name and a custom form routine within the custom output type in Processing Routines (in NACE). But when I try to save the Billing document using VF01 / VF02 it gives me an error saying 'Processing Routine XXXXX in program ZXXXXX does not exist'. I have double checked that the Z program is activated. I have declared as follows:
REPORT ZXXXX.
FORM XXXX USING return_code us_screen.
Can anyone please tell me if I am missing something?
Thanks,
AviHi Neil,
Now this error is resolved. It does not give me that message anymore. But I am getting a new error while saving the billing document with the customized output type. Following is my configuration in NACE:
Application: V3
Output Type: ZMAM
Program: YVRO_TOLLING
Form Routine: F_FETCH_AND_PREPARE_DATA
I am trying to place a break-point within the form routine F_FETCH_AND_PREPARE_DATA but it does not stop there. When go back inside the billing document, it shows an error against the ZMAM output type but has nothing in the processing log. Am I missing something?
Avi -
Custom output type configuration for Handling units
All, Can any one guide me how to configure AZ output types for handling units? My scenario is as follows.
To print a new label for the handling units as soon as the packing happens. User should be able to see this new custom output type in VLO2N/VL03N. Also user can print the labels thru VL74 by inputting the custom output type and processing mode.
For this I did the following.
Created a new custom output type in "NACE" under the application "V6 - Handling Units". And assigned print program and smart form for this output types. After this I am able to see the output types in VL74, when I did F4 on output type field. But I am not able to see the new output type in VL02N/VL03N.
Can anybody tell me what needs to be done to get the new output type in VL02N/VL03N.
Thanks in advance.for Delivery , Application is V2.
regards
Prabhu -
Custom output type is not triggering automatically
Hi Experts,
We have created a custom output type for Delivery idoc processing.
it is working fine for all ship to patrys.
but from last 2 months onwards we are facing problem for one ship to party.
output type is not triggering automatically but for rest of ship to party's it is triggering automatically.
we have maintained conditions and also selected trigger immediately.
earlier it was working fine, but from last 2 months onwards we are facing this problem.
Thanks
SaiHi,
Goto the Delivery document and in the Output screen check the Determine analysis for output.
There it will clearly show what is missing .
Please check that and revert back if you need more clarification.
regards,
santosh -
Hi All,
I want to configure a custom output for Idoc messaging/ printing purpose. So I have used NACE to create a new output type then unable to configure the access sequence fully. I am getting error "Corresponding entry in "Accesses" missing" while trying to config via transaction V/50.
Can you please tell me what the steps in details are?Hi
The language to be used is in parameter CONTROL_PARAMETERS, and it can't change it as it's an IMPORT parameter.
Then the language is transferred to the global data %HEADER-LANGU and %LANGUAGES-LANGU1, u can't try to change them.
also refer the link
how to change the language in smartform?
Regards,
Dhina..
Edited by: Dhina DMD on Aug 2, 2011 9:26 AM -
After Effects CS6 render-only: Custom output modules?
With After Effects CS5.5, we've been able to include custom output module templates (so, aside from the default Lossless, TIFF Sequence with Alpha, etc.). We're having trouble doing the same with CS6. Is there any way to make this work?
this explains what we are trying to use, non-royalty-bearing mode.
http://blogs.adobe.com/aftereffects/2012/06/codecs-and-the-render-engine-in-after-effects- cs6.html
please understand we are using a render queue to remotely execute aerender from the commandline.
http://help.adobe.com/en_US/aftereffects/cs/using/WS3878526689cb91655866c1103a4f2dff7-79a3 a.html
this is the command that is entered:
"C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\aerender.exe" -project "\\nas3\graphics\jobs\13912_SHIELD\cmp\BB\BB_CS6_Test2\BB_CS6_Test2.aep" -comp "HeroComp" -output "\\nas3\graphics\jobs\13912_SHIELD\images\BB\BB_CS6_Test2\BB_CS6_Test2.[####].sgi" -v "ERRORS_AND_PROGRESS" -RStemplate "Full" -OMtemplate "SGI_Premultiplied" -s 11 -e 20
if we place ae_render_only_node.txt into the appropriate folder this is the error that is generated:
has video RAM(MB): 0
aerender version 11.0x378
PROGRESS: Adding specified comp to Render Queue
aerender ERROR: No output module template was found with the given name.
LoadLibrary "n" failed!
LoadLibrary "n" failed!
if we register the software aerender correctly renders the frames.
note: the sgi file format does not have codec licensing restrictions such as mpeg2. -
Restrict Purchase Order to generate custom output message on condition.
Hi Experts,
We have custom message / output types ZEMA(E-Mail) & ZNEU(Standard Mail) configured for Purchase Orders.
We have a requirement from client to restrict the generation of output message ZEMA, if the amount of the PO is greater than some limit say 100USD. And the message output should also be avoided to create entry in ME9F.
Can you please advise if there are some way (User Exit?) that prevent the output message in this scenario (specific PO Type) without touching the current Condition setup?
Here I would need the new PO object being created and the amount on the PO from the field NETWR.
Thanks,
AnkurHi Jurgen,
Sorry for missing out the Dump details earlier.Please find below an extract from the dump:
Category ABAP Programming Error
Runtime Errors POSTING_ILLEGAL_STATEMENT
ABAP Program FRMSCM0012
Application Component Not assigned
Date and Time 10.06.2014 08:30:46
Error analysis
There is probably an error in the program
"FRMSCM0012".
This program is triggered in the update process. The following ABAP
statements are illegal here:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- SET SCREEN
- LEAVE TO LIST-PROCESSING
- SUBMIT
- LEAVE SCREEN
- LEAVE LIST-PROCESSING
- LEAVE PROGRAM
- LEAVE TO TRANSACTION
- MESSAGE I/W/E (if not handeld using EXCEPTIONS ERROR_MESSAGE)
- MESSAGE A
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occurs in a non-modfied SAP program, you might be able to
find a solution in the SAP Notes system. If you have access to the SAP
Notes system, check there first using the following keywords:
"POSTING_ILLEGAL_STATEMENT"
"FRMSCM0012" bzw. FRMSCM0012_SF
"SFORM_PRINT_OUTPUT"
Information on where terminated
The termination occurred in ABAP program "FRMSCM0012", in
"SFORM_PRINT_OUTPUT". The main program
was "RSM13000 ". -
ME2N -Customized output -Urgent!!!
I have customized ME2N transaction, my output is ALV format , Here I just changed to logic of 2 performs where I can add the my own flds into the output list.
for the GUI status which is not working like PO changes,scheduled...buttons (also there in the standard transaction).
Please help meHi,
You can create your own local strcutureby inlcuding this strucutre as follows.
TYPES: begin of new_struct.
INCLUDE STRUCUTRE MEREP_OUTTAB_PURCHDOC.
TYPES: new_filed type <give your type here>,
end of new_Struct.
then create table type and work area for the new type.
DATA: itab type table of new_Struct,
wa_area like line of itab.
now copy data as followows.
LOOP at original_ta into origianl_workarea.
move-corresponding original_workarea to wa_area.
wa_area-new_filed = <assign your value using some code READ TABLE etc>.
append wa_area to itab.
endloop.
then create list using ITAB instead of original table.
Regards,
Sesh -
Getting processing log for our custom output triggering FM?
Hello,
VA02 > Extras>Header>Output>Edit --- Triggering an custom IDOC
Stadnard SAP output programs shows IDOC number on output processing log. But, our custom programs/FMs the one we use to trigger on order IDOC, don't show the processing log. How to get this processing log for custom FMs just like standard SAP?
Thank youHello
I am sending my custom IDOC by using FM 'MASTER_IDOC_DISTRIBUTE', if it went well (sending successfully - status is '03') in next step am using PERFORM FILL_NAST_PROTOCOL(ROIKCALE) routine.
But, when i checked the PROCESSING LOG of the associated green latest item in VA02/03>Extras>OP>Header>Edit....am getting a message that "No processing log exists"
How to get/see my IDOC #?
when i saw the F1, it says, "System logging has been de-activated for the selected output type (use settings in Customizing for current application for the selected output type)"
When i checked the settings in NACE (and then clicking lense), they are fine.
Am i seeing correctly to get/know the generated IDOC #?
Thank you -
Deleting obsolete customer outputs
We haven't used customer master configured outputs for quite a while now. Is there a program which will mass delete output records from table KNVD? Or is there a BAPI or FM which I can program into an abap?
Nice report but it won't delete entires from the table unless the customer no longer exists. My customers still exist; I just want to eliminate some/all of the output records on KNVD.
Edited by: Bruce Risto on Dec 16, 2009 7:38 PM -
NXT Custom Block Developmen​t with LabVIEW 8.2.1?
I'm trying to develop a custom NXT block using
LabVIEW 8.2.1. Is this possible? I am having trouble importing the finished block into
the Mindstorm environment. My block is always greyed out in the import
list. My block seems to compile just fine. In fact, if I create a new
example block from a template and try to import that without
modifications, I get the same behavoir.
Any ideas on how I can debug this?
P.S. Hopefully this actually goes to the LabVIEW Friends of LEGO group ; )Eagles Coach is right on the money here. Because the MINDSTORMS environment is built on LabVIEW 7.1, that's the only version you can use to create custom blocks for the environment. LabVIEW 8.0 and 8.2 are useful if you plan to do all your programming in LabVIEW itself, but won't help you create blocks for MINDSTORMS.
You could use the "Save for Previous" feature of LabVIEW to backport your code to 7.1, but that would require you to have both LV 8.0 and LV 7.1.
James Blair
NI R&D -
How can I have a custom output file destination for each different preset?
Hey guys,
I have a bunch of presets in AME but I need to have each preset export to it's own folder. How can I do that? This was a really simple thing to do in Compressor but in Media Encoder is seems like I can only specify one output file destination for the whole application in general and everything gets exported to that folder. Can anyone help me with that please?This is a user to user forum. It is not staffed by Adobe employees so you will not always get a direct response from Adobe.
That being said, the output destination is not tied to the presets so this is not possible without a little extra work. You can change multiple output destinations by selecting multiple jobs and then clicking on one of the output locations to update them all. Another way to set this up would be to use watch folders.
This is a feature request are aware of but if you would like to add your vote for it, please add that request here: Adobe - Feature Request/Bug Report Form -
I'm currently using iMovie 8.0.6 However I want to upgrade by downloading iMovie 10.0.4 but I'm upset that iMovie 10.0.4 doesn't give us "Export using Quicktime" option like iMove 9.0.6 and lower versions do (look at picture below)
So I wanted to know could I create a Compressor 4 output setting and use that as a exporting option in iMovie 10.0.4?Yes and No:
No, you can not - as in FCPX - create your own 'Share Destinations', iM lacks (officially) any APIs too teach it new tricks.
Yes, export from with iM in a high-res format (e.g. 1080 Apple devices), and use that as source for any Compressor output Same workflow, for free, would do Mpeg Streamclip, the most recommended converter tool for MacOs.... -
Write processing log for custom output type
Hi,
I have defined a new output type at delivery header level . This is processed using a special function and on processing moves stock from unrestricted to a order special stock.
I need to update the "processing log" of the output with the material document number. Can any one please let me know how I can write to this "processing log" of the output?
Thanks in advance.
Regards.
Hari.Use function NAST_PROTOCOL_UPDATE:
* No orders found
wa_msgv_1 = nast-objky+0(10).
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = c_msgtype
msg_nr = 30
msg_ty = 'S'
msg_v1 = 'No orders found for delivery'
msg_v2 = wa_msgv_1
EXCEPTIONS
OTHERS = 1. -
Using regular expressions to get a customized output
Hi,
I have a string/varchar variable with the data ',a,b,c,' in it.
I want the display as follows:
a
b
c
I would like to get the similar output using regular expressions.
How do I get this output using REGEXP_REPLACE or REGEXP_SUBSTR?
Please do the needful.
Thanks & Regards,
RakshitI remember that, however if we look closer, that one has a little flaw: The 2nd row should be null, because ",," indicates an empy field. The MODEL clause solution works just fine in this case:
with t as (select 'aaaa,,bbbb,cccc,dddd,eeee,ffff' col1 from dual)
-- end of sample data
SELECT col_new
FROM t
MODEL
PARTITION BY (ROWNUM rn)
DIMENSION BY (0 dim)
MEASURES(col1, col1 col_new)
RULES ITERATE(99) UNTIL (ITERATION_NUMBER = LENGTH(REGEXP_REPLACE(col1[0], '[^,]')))
(col_new[ITERATION_NUMBER] = REPLACE(REGEXP_SUBSTR(col1[0], '(^|,)[^,]*', 1, ITERATION_NUMBER+1), ','))
COL_NEW
aaaa
bbbb
cccc
dddd
eeee
ffff
7 Zeilen ausgewählt.Update: I had this nagging feeling that I missed something, and there it was. If you want to see what the problem with my solution is, change the example to
with t as (select ',aaaa,,bbbb,cccc,dddd,eeee,ffff' col1 from dual)So I went back and tried to fix BlueShadows approach. Here it is:
with t as (select 'aaaa,,bbbb,cccc,dddd,eeee,ffff' txt from dual)
-- end of sample data
SELECT REPLACE(REGEXP_SUBSTR(',' || txt, ',[^,]*', 1, level), ',') col_new
FROM t
CONNECT BY level <= length(regexp_replace(txt,'[^,]*'))+1
;C.
Maybe you are looking for
-
Is there a way to transfer music that is in my old ipad?
I just got a iPad air today and i would like to know if there is a way to retrieve the music i downloaded on my old ipad to my new one.....j
-
Locking Cells in Numbers (Almost!)
While there's no real way to lock cells in the current version of Numbers, I put a little trick in place that at least keeps people from clicking on the cells to edit them (they can still move into the cells with the arrow keys). 1. Use the menu Inse
-
-
Need to know how to place a tiling image in the div tags
Let me see if I can explain what I want to do in a way that makes sense. I have created a box using the <div> I want a background image I made in photoshop that has rounded corners. I need this image to stretch or tile the length and width of the box
-
Can i get my iphone 4 serial number with the IMEI number?
My iphone is missing/stolen (probably stolen). I'm trying to use the find my iphone app but need to add my iphone to my apple profile because it's a new phone and I hadn't done it yet. I have the IMEI number but I don't have the serial number and I