4 displays of seven-segments to countdown automatically - hdl

I need help in display module and project module.
In this project, you will program the 4 displays of seven-segments to countdown automatically from (9999) to (xxxx) where xxxx is your last four number in your ID (for example, the initial value of the 4 displays is 9999 and my ID is (200412320), the counter will start countdown to reach {2320}). In addition, the pulse generator module will be used to generate a pulse where this pulse will reset the 4 displays to the initial value (9999) and the counter automatically will start countdown to (xxxx).

Related

Did anyone resolve this issue in ng-charts 2

https://github.com/valor-software/ng2-charts/issues/835
I have a multi Axis chart and one I click on some point I get all active points per this value. I am using the chartClick event as per the documentation.
For example: I have 4 lines. For year 2000 I click on the point of the first line. But I get an array of active points that contains 4 active points.
I want to know on which of the active points I have clicked, and not get all the 4. Or to get just the specific active point I have clicked on instead of array of all four.
How it can be done?

vb.net program to register time on multiple runners

I building a program to track the time of up to 60 runners. My idea is to use a DataGridView with columns for:
ID (DataGridViewTextBoxColumn)
Name (DataGridViewTextBoxColumn)
Start time (DataGridViewButtonColumn)
Stop time (DataGridViewButtonColumn)
Reset time (DataGridViewButtonColumn)
Finish time (DataGridViewTextBoxColumn)
Adding columns 1-5 including functions is no problem, but I cannot wrap my head around how to display a stopwatch in column 6.
My idea was to add a timer and stopwatch function every time a new row I added, but do I need a timer for each row? If so how do I set the ID of that timer, so I can call the Tick event and display the time in column 6?
Also I assume that I need a stopwatch for each row? So how do I set the name of ID of each Stopwatch - can seem to find any property for that?
See below screen shot of what I am trying to accomplish.
Thanks in advance.
Screen shot

VB - How to print editable line in console

In a VB console application, how do you automatically put a string in the cursor? example:
ask for numbers
user inputs 5 15 five
show error
show back "5 15 five" back to the user so he can change five to 5 or any other integer.

pictures keep changing on the form, there should be at least 5 pictures on every different groupbox using loop

I want a way of loading 5 pictures on every refresh. i have over 300 pictures in the database and i want them to load every 5 picture on form load. and then they sray there for 10sec and then the next 5 loads n keeps loading till al the pictures are loaded then it restarts again from the start.
it should be using a loop. because i have a dynamic way of loading my pictures and textboxes. so how could i jst load 5 pictured and then the next 5 after the first 5 have disappeared. all should happen on one form. maybe even use ashock.. or any other way.
or any other way.
you can do like this, First get all those 300 pictures in the load event and store that in a datatable (using datatable will shrinks the possibility to connect to back end multiple times).Then use a timer in your form and set its interval for 5000 ms(i.e 5 seconds). use a global variable to to track how many pictures are shown, increment it by 5 for every tick event's call(Tick event will get fired when interval assigned by you gets elapsed. - ex: for every 5 seconds). now inside the tick event, get five pictures from the datatable(use that global variable to get the next 5 images). Display those five images by replacing the old ones.and once that global variable reaches 300 again reset it to 0. This cycle will ends only if you stop the timer.
Hope this will give you an idea to accompolish your task.

Dynamically swap variables

I'm working in Visual Basic 2010
Hitpoints1 -= Player1HandGroup(Number).DamageInteger
This is an example line of code in a game I'm designing that removes a given amount of hitpoints from player 1 depending on the item used in the array.
For each player I have different variables. They are
Hitpoints2, Hitpoints3, Hitpoints4, Hitpoints5 respective for each given player.
What I want to do is be able to dynamically change the variable to another variable so I do not have to copy my giant masses of decision logic.
The way the variable will be dynamically changed is via a custom dialog box with Player 1 through Player 5 as the buttons to decide who the player will attack. (I've already made the dialog box)
So if I hit player 2 in the dialog box Hitpoints1 will instead be Hitpoints2.
I'd like to dynamically change the variable, or be able to concatenate the last letter (numbers 1-5) onto "HitPoints" in the code, in effect being the same as dynamically changing the variable.
One person tried to have me do for each loop...
for n = 1 to 5
HitPoints = HitPoints & n
( your code in here with the HitPoints bit, which will now be HitPoints1)
next n
but that didn't work.