Wez Posted January 30, 2008 Author Share Posted January 30, 2008 I am getting data on the PDA from the AEM, more testing and tweaking tomorrow Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted January 30, 2008 Share Posted January 30, 2008 Nice one.. If there is anything else I can help with.. Am looking at a simulator for the PDA.. Can you send me a snippit of the captured AEM feed? Offer of Dev application still stands Paul. Quote Link to comment Share on other sites More sharing options...
Wez Posted January 30, 2008 Author Share Posted January 30, 2008 The stream I am using is the one in this post :- http://www.mkivsupra.net/vbb/showpost.php?p=1782545&postcount=36 I have also found a windows tool that lets you type in a HEX string to send out the com port, seems to be working but I have something funny going on with my scalar calc at the moment. Getting there slowly EDIT: Discovered tonight that I also require a null modem between PDA and ECU, not a problem as I had one with me. Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted January 30, 2008 Share Posted January 30, 2008 No worries, think I am banging my head against a brick wall to get the simulator on the PDA (would have worked for the emulator too). Is that how COMMLOG picks it up. Not sure how replaying a constant stream would work. Could see sending each byte out one by one.. ie. 55 B9 7E 37 Or the 4 bytes at ago. 55 B9 7E 37 That's for the 2 feed system example you put. Also I think I am making it more complicated for myself then was required. Are you just pumping the data from the laptop to the PDA... IE.. Talking through Com1 on the Laptop where the serial cable is attached. Sorry second night in and I'm tired now. Quote Link to comment Share on other sites More sharing options...
Wez Posted January 30, 2008 Author Share Posted January 30, 2008 When I monitored the stream on the laptop with serial monitor and hyper term is it flowed in a line and wrapped like 55 00 ff ff 55 b9 00 b9. When I looked at it with commlog on the PDA it displayed it line by line. For testing I have a utility called Windmill comDebug on the laptop which sends a string of data out the serial port, this is connected to my PDA running the app. Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted January 30, 2008 Share Posted January 30, 2008 Do you still need something to pump out data, or will Windmill do the job? Quote Link to comment Share on other sites More sharing options...
Wez Posted January 30, 2008 Author Share Posted January 30, 2008 Do you still need something to pump out data, or will Windmill do the job? I think windmill is working because when I change the values my display items are updating, just not getting the right conversion at the moment. Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted January 30, 2008 Share Posted January 30, 2008 No worries, I'll go back to sleep... err.. work. Quote Link to comment Share on other sites More sharing options...
Wez Posted January 31, 2008 Author Share Posted January 31, 2008 Its working of sorts and the correct fields are updating. I need to sort out the displayed data, here is a little vid of me pressing the throttle with the app running. Right-Click 3GP phone movie Quote Link to comment Share on other sites More sharing options...
Wez Posted January 31, 2008 Author Share Posted January 31, 2008 It works http://uk.youtube.com/watch?v=fDVK5a6O1SE Quote Link to comment Share on other sites More sharing options...
Guest dejacky Posted February 1, 2008 Share Posted February 1, 2008 All Hail WEZ, King of the Aem PDA display! Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted February 1, 2008 Share Posted February 1, 2008 Will have to check this when I get home. Nice one dude. Quote Link to comment Share on other sites More sharing options...
Ryan.G Posted February 1, 2008 Share Posted February 1, 2008 Quote Link to comment Share on other sites More sharing options...
Wez Posted February 1, 2008 Author Share Posted February 1, 2008 Not so clear vid of 7 parameters working, need to change my AFR scalar as its not correct at the moment. http://uk.youtube.com/watch?v=XLAeI2lolwE Quote Link to comment Share on other sites More sharing options...
Sharpie Posted February 1, 2008 Share Posted February 1, 2008 Very nice work! Quote Link to comment Share on other sites More sharing options...
Wez Posted February 1, 2008 Author Share Posted February 1, 2008 Trying to figure out how best to lay stuff out now. I know I can monitor all 19 channels that the AEM offers but PDA screens are too small to have it all on one page. I am thinking about spreading it over a couple of tabs and grouping various items together. Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted February 2, 2008 Share Posted February 2, 2008 One option is to use the GDI and draw the output onto Picture Boxes.. That way you just choose what you want to draw and the layout stays the same. Make's it easy to change the layout between Port/Land. It's what I do with the Compass, doesn't matter what size it is, it caters for that. Takes a little more work to set up, but then it's easy to reuse.. Quote Link to comment Share on other sites More sharing options...
Wez Posted February 2, 2008 Author Share Posted February 2, 2008 I have figured out why my AFR wasnt displaying correctly. For AFR there is a scalar and offset. I have only done calcs using the scalar which is why my value is too low. Quote Link to comment Share on other sites More sharing options...
Wez Posted February 3, 2008 Author Share Posted February 3, 2008 Did some more vids today with 9 channels, posted here :- http://www.mkivsupra.net/vbb/showthread.php?t=139279 Quote Link to comment Share on other sites More sharing options...
Guest dejacky Posted February 21, 2008 Share Posted February 21, 2008 Wez, is there any chance I can try your app on my setup? Quote Link to comment Share on other sites More sharing options...
Wez Posted February 21, 2008 Author Share Posted February 21, 2008 Wez, is there any chance I can try your app on my setup? I will be sticking a version up download shortly, just need to get some GUI stuff sorted Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted February 25, 2008 Share Posted February 25, 2008 Wez, Have a look at this for an example of what I meant of the GUI design. You should be able to run it if you can run my PDA app. I've the source you can have if you like, but it is designed in Visual Studio. Paul. *** Update *** Due to me being lazy, you'll need to run this in Portrate mode and not in 'true vga' ala OzVga. Just click anywhere on the screen to go to the next screenGUI Test.zip Quote Link to comment Share on other sites More sharing options...
Wez Posted February 26, 2008 Author Share Posted February 26, 2008 Thats great thanks, I will PM you when I test it. Quote Link to comment Share on other sites More sharing options...
Chris Wilson Posted February 26, 2008 Share Posted February 26, 2008 I saw this in action the other day, it's superb, a lovely bit of work (despite the techie side of the application writing totally escaping me). It's far nicer than the hand controller info on a Power FC for sensor monitoring, for example! Quote Link to comment Share on other sites More sharing options...
MrRalphMan Posted February 26, 2008 Share Posted February 26, 2008 Thats great thanks, I will PM you when I test it. No worries, just first draft and proof of concept. With this all you need to do is drop a picturebox on the page, pass the subroutine some params and it draws the control. Stuff I'd add. Min/Max alarms Green bar would show the current value plotted along it, also would show the min/max alarm values in different colours (Params also). Background would change colour depending on Max/Min alarms, easier to spot something going wrong. Config files for the Feeds and how the screens are set up. Some minor other stuff.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.